Skip to content
Snippets Groups Projects
tapi-eth@2019-03-31.yang 161 KiB
Newer Older
  • Learn to ignore specific revisions
  • Manuel Kieweg's avatar
    Manuel Kieweg committed
    1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000
                    range of type : 2-octet";
            }
            container eth-ctp-common-pac {
                uses eth-ctp-common-pac;
                description "none";
            }
            description "none";
        }
        grouping eth-connection-end-point-spec {
            container ety-term {
                uses ety-termination-pac;
                description "none";
            }
            container eth-term {
                uses eth-termination-pac;
                description "none";
            }
            container eth-ctp {
                uses eth-ctp-pac;
                description "none";
            }
            description "none";
        }
        grouping eth-termination-pac {
            container eth-termination-common-pac {
                uses eth-termination-common-pac;
                description "none";
            }
            description "This object class models the Ethernet Flow Termination function located at a layer boundary.";
        }
        grouping ety-termination-pac {
            container ety-termination-common-pac {
                uses ety-termination-common-pac;
                description "none";
            }
            uses ety-pac;
            description "none";
        }
        grouping traffic-conditioning-pac {
            list prio-config-list {
                key 'queue-id';
                uses priority-configuration;
                description "This attribute indicates the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
            }
            list cond-config-list {
                key 'queue-id';
                uses traffic-conditioning-configuration;
                description "This attribute indicates for the conditioner process the conditioning parameters:
                    - Queue ID: Indicates the Queue ID
                    - Committed Information Rate (CIR): number of bits per second
                    - Committed Burst Size (CBS): number of bytes
                    - Excess Information Rate (EIR): number of bits per second
                    - Excess Burst Size (EBS): number of bytes
                    - Coupling flag (CF): 0 or 1
                    - Color mode (CM): color-blind and color-aware.";
            }
            leaf codirectional {
                type boolean;
                description "This attribute indicates the direction of the conditioner. The value of true means that the conditioner (modeled as a TCS Sink according to G.8021) is associated with the sink part of the containing CTP. The value of false means that the conditioner (modeled as a TCS Sink according to G.8021) is associated with the source part of the containing CTP.";
            }
            description "This object class models the ETH traffic conditioning function as defined in G.8021.
                Basic attributes: codirectional, condConfigList, prioConfigList";
        }
        grouping traffic-shaping-pac {
            list prio-config-list {
                key 'queue-id';
                uses priority-configuration;
                description "This attribute configures the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
            }
            list queue-config-list {
                key 'queue-id';
                uses queue-configuration;
                description "This attribute configures the Queue depth and Dropping threshold parameters of the Queue process. The Queue depth sets the maximum size of the queue in bytes. An incoming ETH_CI traffic unit is dropped if there is insufficient space in the queue to hold the whole unit. The Dropping threshold sets the threshold of the queue. If the queue is filled beyond this threshold, incoming ETH_CI traffic units accompanied by the ETH_CI_DE signal set are dropped.";
            }
            leaf sched-config {
                type scheduling-configuration;
                description "This attribute configures the scheduler process. The value of this attribute is for further study because it is for further study in G.8021.
                    Scheduler is a pointer to a Scheduler object, which is to be defined in the future (because in G.8021, this is FFS).
                    Note that the only significance of the GTCS function defined in G.8021 is the use of a common scheduler for shaping. Given that, G.8052 models the common scheduler feature by having a common value for this attribute.";
            }
            leaf codirectional {
                type boolean;
                description "This attribute indicates the direction of the shaping function. The value of true means that the shaping (modeled as a TCS Source according to G.8021) is associated with the source part of the containing CTP. The value of false means that the shaping (modeled as a TCS Source according to G.8021) is associated with the sink part of the containing CTP.";
            }
            description "This object class models the ETH traffic shaping function as defined in G.8021.
                Basic attribute: codirectional, prioConfigList, queueConfigList, schedConfig";
        }
        grouping eth-meg-spec {
            container eth-cfm-maintenance-domain {
                uses eth-cfm-maintenance-domain;
                description "none";
            }
            container eth-cfm-maintenance-association {
                uses eth-cfm-maintenance-association;
                description "none";
            }
            container eth-meg-common {
                uses eth-meg-common;
                description "none";
            }
            description "none";
        }
        grouping eth-mep-spec {
            container eth-mep-common {
                uses eth-mep-common;
                description "none";
            }
            container eth-mep-source {
                uses eth-mep-source;
                description "none";
            }
            container eth-mep-sink {
                uses eth-mep-sink;
                description "none";
            }
            leaf mep-mac {
                type mac-address;
                config false;
                description "This attribute contains the MAC Address of the MEP.";
            }
            description "none";
        }
        grouping eth-mip-spec {
            leaf mip-mac {
                type mac-address;
                config false;
                description "This attribute contains the MAC address of the MIP instance.";
            }
            container eth-mip-common {
                uses eth-mip-common;
                description "none";
            }
            description "none";
        }
        grouping eth-loopback-job {
            container eth-oam-test-loopback-common-pac {
                uses eth-oam-test-loopback-common-pac;
                description "none";
            }
            leaf number {
                type uint64;
                description "G.8052: This parameter specifies how many LB messages to be sent for the LB_Series process.";
            }
            leaf lbm-data-tlv {
                type string;
                description "IEEE P802.1Qcx/D0.3:
                    String length '1..1480'
                    The loopback message Data TLV type.
                    MEF 38:
                    An arbitrary amount of data to be included in a Data TLV.";
            }
            description "This class represents the Loopback (LB) process (send a series of LB messages carrying a test pattern to a particular MEP). The termination occurs at specified stop time (schedule attribute of OamJob).
                This class models also the 'loopback discover' process, when destinationAddress is multicast.
                When number is greater than 1, then the process is to perform a Loopback (LB) Series process (send a series of N LB messages to a particular MEP/MIP. ";
        }
        grouping eth-mep-common {
            leaf cc-priority {
                type uint64 {
                    range "0..7";
                }
                default "7";
                description "This attribute models the MI_CC_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the CCM message should be sent.";
            }
            leaf lck-period {
                type oam-period;
                description "This attribute models the MI_LCK_Period signal defined in G.8021 and configured as specified in G8051. It is the frequency at which the LCK messages should be sent.
                    range of type : 1s, 1min";
            }
            leaf lck-priority {
                type uint64 {
                    range "0..7";
                }
                default "7";
                description "This attribute models the MI_LCK_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the LCK messages should be sent.";
            }
            leaf mep-identifier {
                type uint64;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    Integer that is unique among all the MEPs in the same Maintenance Association (MEG).
                    G.8052:
                    This attribute contains the identifier of the MEP.";
            }
            leaf codirectional {
                type boolean;
                default "true";
                description "This attribute specifies the directionality of the Ethernet MEP with respect to the associated CEP. The value of TRUE means that the sink part of the MEP terminates the same signal direction as the sink part of the CEP. The Source part behaves similarly. This attribute is meaningful only when CEP is bidirectional.";
            }
            description "Basic attributes: adminState, clientMel, megIdentifier, mepMac
                Continuity Check Process related attributes: ccPeriod, ccPriority, isCcEnabled
                Lock Process related attributes: lckPeriod, lckPriority
                This object class models the MEP functions that are common to MEP Sink and MEP Source.";
        }
        grouping eth-mep-sink {
            leaf ais-priority {
                type uint64 {
                    range "0..7";
                }
                default "7";
                description "This attribute models the MI_AIS_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the AIS messages should be sent.";
            }
            leaf ais-period {
                type oam-period;
                description "This attribute models the MI_AIS_Period signal defined in G.8021 and configured as specified in G8051. It is the frequency at which the AIS messages should be sent.
                    range of type : 1s, 1min";
            }
            leaf is-csf-reported {
                type boolean;
                default "true";
                description "This attribute models the MI_CSF_Reported signal defined in G.8021 and configured as specified in G8051. It configures whether the secondary failure CSF should be reported or not.";
            }
            leaf is-csf-rdi-fdi-enabled {
                type boolean;
                default "true";
                description "This attribute models the MI_CSFrdifdiEnable signal defined in G.8021 and configured as specified in G8051.
                    aSSFrdi  dCSF-RDI and MI_CSFrdifdiEnable
                    aSSFfdi  dCSF-FDI and MI_CSFrdifdiEnable";
            }
            container bandwidth-report {
                config false;
                uses bandwidth-report;
                description "This attribute models the content of the bandwidth report received by the MEP Sink from the peer MEP Source.";
            }
            leaf lm-degm {
                type uint64;
                default "10";
                description "This attribute defines the number of consecutive bad seconds necessary for the 'degraded' detection. See also section 'Degraded signal defect (dDEG)' in G.8021.";
            }
            leaf lm-deg-thr {
                type uint64;
                default "30";
                description "This attribute defines the threshold for declaring a 'bad second'. See also section 'Degraded signal defect (dDEG)' in G.8021.";
            }
            leaf lm-m {
                type uint64 {
                    range "2..10";
                }
                default "10";
                description "This attribute defines the number of consecutive good seconds necessary for the clearing of 'degraded'. See also section 'Degraded signal defect (dDEG)' in G.8021.";
            }
            leaf lm-tf-min {
                type uint64;
                description "This attribute defines the necessary number of transmitted frames to enable the detection of 'bad seconds'. See also section 'Degraded signal defect (dDEG)' in G.8021.";
            }
            leaf-list peer-mep-identifier {
                type uint64;
                description "G.8052:
                    This attribute models the MI_PeerMEP_ID[i] signal defined in G.8021 and configured as specified in G.8051. It provides the identifiers of the MEPs which are peer to the subject MEP.";
            }
            leaf unexpected-ltr-received {
                type uint64;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    The total number of unexpected LTRs received.";
            }
            description "1DM related attribute: 1DmPriority
                AIS Process related attributes: aisPeriod, aisPriority
                Bandwidth notification Process related attribute: bandwidthReport
                Basic attribute: peerMepRefList
                CSF Process related attributes: isCsfRdiFdiEnabled, isCsfReported
                Defect correlation Process related attribute: currentProblemList
                This object class models the MEP sink function. Instance of this object class can be created and contained by ETH CTP or TTP objects.
                It also provides the management of the dual-ended maintenance job, such as test.
                This object contains the configuration parameters for detecting 'degraded signal' (DEG).";
        }
        grouping eth-mep-source {
            leaf aps-priority {
                type uint64 {
                    range "0..7";
                }
                default "7";
                description "This attribute specifies the priority of the APS messages.
                    See section 8.1.5    APS insert process in G.8021.";
            }
            leaf csf-priority {
                type uint64 {
                    range "0..7";
                }
                default "7";
                description "This attribute models the MI_CSF_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the CSF messages should be sent";
            }
            leaf csf-period {
                type oam-period;
                description "This attribute models the MI_CSF_Period signal defined in G.8021 and configured as specified in G8051. It is the period at which the CSF messages should be sent.
                    range of type : 1s, 1min";
            }
            leaf csf-config {
                type csf-config;
                description "This attribute models the combination of all CSF related MI signals (MI_CSF_Enable, MI_CSFrdifdi_Enable, MI_CSFdci_Enable) as defined in G.8021.";
            }
            description "APS Process related attribute: apsPriority
                Basic attribute: mepIdentifier
                CSF Process related attributes: csfConfig, csfPeriod, csfPriority
                Link trace related operation: linkTrace
                Loopback related operations: loopbackDiscover, loopbackSeries, loopbackTest, loopbackTestTerminate
                On demand measurement job control related operation: establishOnDemandDualEndedMeasurementJobSource
                Proactive measurement job control related operation: establishProActiveDualEndedMeasurementJobSource
                Test related operations: testInitiatorStart, testInitiatorTerminate
                This object class models the MEP source function. Instance of this object class can be created and contained by ETH CTP or TTP objects.
                It also provides the management of single-ended maintenance jobs, such as loopback test, loopback discover, loopback series, link trace, and dual-ended maintenance job, such as test.";
        }
        grouping eth-link-trace-job {
            leaf priority {
                type uint64;
                default "7";
                description "G.8052: This parameter provides the priority to be used in the LBM frame.
                    G.8052: This parameter provides the priority to be used in the TST frame.";
            }
            leaf destination-address {
                type mac-address;
                description "G.8052: This parameter provides the destination address, i.e., the MAC Address of the target MEP or MIP.";
            }
            leaf time-to-live {
                type uint64;
                description "G.8052: This parameter provides the Time To Live (TTL) parameter of the Link Track protocol.
                    The TTL parameter allows the receiver (MIP or MEP) of the LTM frame to determine if the frame can be terminated. TTL is decremented every time the LTM frame is relayed. LTM frame with TTL<=1 is terminated and not relayed.
                    IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    An initial value for the LTM TTL field.";
            }
            container eth-cfm-link-trace-pac {
                uses eth-cfm-link-trace-pac;
                description "none";
            }
            description "This class represents the Link Trace (LT) process for fault localization or for discovering the intermediate MIPs along the link from the MEP Source to a target MEP or MIP. An LTM frame will be sent from the MEP source to the target MEP/MIP.
                The termination occurs at specified stop time (schedule attribute of OamJob).";
        }
        grouping eth-test-job {
            container eth-oam-test-loopback-common-pac {
                uses eth-oam-test-loopback-common-pac;
                description "none";
            }
            leaf test-pattern {
                type test-pattern;
                description "G.8052: This parameter provides the test pattern to be used in the optional Data TLV.
                    Examples of test patterns include pseudo-random bit sequence (PRBS) 2^31-1 as specified in clause 5.8 of [ITU-T O.150], all '0' pattern, etc.";
            }
            leaf destination-address {
                type mac-address;
                description "G.8052: This parameter provides the destination address, i.e., the MAC Address of the target MEP or MIP.";
            }
            container eth-test-job-sink-point {
                uses eth-test-job-sink-point;
                description "none";
            }
            leaf number {
                type uint64;
                description "This parameter specifies how many TST messages to be sent.";
            }
            description "This class represents the 1-way on-demand in-service or out-of-service diagnostic test. The diagnostic test includes verifying bandwidth throughput, frame loss, bit errors, etc. TST frames are transmitted.
                The termination occurs at specified stop time (schedule attribute of OamJob).";
        }
        grouping eth-on-demand-measurement-job-control-sink {
            leaf sink-mep-id {
                type uint64;
                description "none";
            }
            leaf source-address {
                type mac-address;
                description "This attribute contains the MAC address of the peer MEP. See G.8013 for details.";
            }
            uses eth-measurement-job-control-common;
            description "This object class represents an on-demand measurement job controller sink for 1-way measurements. It is created as a result of an establishOnDemandDualEndedMeasurementJobSink() operation. It is deleted either automatically after the measurement job has completed (stop time reached) and the performance data AVC notification has been sent, or by an explicit abortOnDemandMeasurementJob() operation when the measurement job is running.";
        }
        grouping eth-on-demand-measurement-job-control-source {
            leaf controller-mep-id {
                type uint64;
                description "none";
            }
            leaf oam-pdu-generation-type {
                type oam-pdu-generation-type;
                description "This attribute contains the pattern that is used for the generation of OAM PDUs.";
            }
            leaf destination-address {
                type mac-address;
                description "This attribute contains the MAC address of the peer MEP. See G.8013 for details.";
            }
            leaf data-tlv-length {
                type uint64;
                description "This parameter provides the size of the optional data TLV.
                    Non-negative integer represents the number of bytes for the length of the padding TLV.
                    Notes:
                    When configuring this parameter one should be aware of the maximum allowed total frame size limitation.
                    The attribute is not used in case of 2-way loss measurement.
                    range of type : Depends on the allowed MTU size.";
            }
            uses eth-measurement-job-control-common;
            description "Basic attributes: destinationAddress, priority
                Measurement configuration related attributes: oamPduGenerationType, startTime, stopTime, messagePeriod, repetitionPeriod, measurementInterval
                Optional attributes: dataTlvLength, testIdentifier
                This object class represents an on-demand measurement job controller source for 1-way measurements. It is created as a result of an establishOnDemandDualEndedMeasurementJobSource() operation. It is deleted either automatically after the measurement job has completed (stop time reached), or by an explicit abortOnDemandMeasurementJob() operation while the measurement job is running.";
        }
        grouping eth-pro-active-measurement-job-control-sink {
            leaf sink-mep-id {
                type uint64;
                description "none";
            }
            leaf source-address {
                type mac-address;
                description "This attribute contains the MAC address of the peer MEP. See G.8013 for details.";
            }
            leaf is-enabled {
                type boolean;
                default "true";
                description "This attribute identifies the state of the measurement job. If set to TRUE, the MEP performs proactive Performance Measurement.";
            }
            uses eth-measurement-job-control-common;
            description "This object class allows the control of the proactive 1-way measurement. It is created as a part of an establishProActiveDualEndedMeasurementJobSink() operation. Lifecycle: A pre-condition of deleting the object is that the Enable attribute should have the value FALSE.";
        }
        grouping eth-pro-active-measurement-job-control-source {
            leaf controller-mep-id {
                type uint64;
                description "none";
            }
            leaf destination-address {
                type mac-address;
                description "This attribute provides the Unicast MAC address of the intented destination.";
            }
            leaf data-tlv-length {
                type uint64;
                description "This parameter provides the size of the optional data TLV.
                    Non-negative integer represents the number of bytes for the length of the padding TLV.
                    Notes:
                    When configuring this parameter one should be aware of the maximum allowed total frame size limitation.
                    The attribute is not used in case of 2-way loss measurement.
                    range of type : Depends on the allowed MTU size.";
            }
            leaf is-enabled {
                type boolean;
                default "true";
                description "This attribute identifies the state of the measurement job. If set to TRUE, the MEP performs proactive Performance Measurement.";
            }
            uses eth-measurement-job-control-common;
            description "This object class represents a proactive measurement job controller source for 1way measurements. It is created as a part of an establishProactiveDualEndedMeasurementJobSource() operation.";
        }
        grouping eth-pro-active-1-dm-performance-data {
            container statistical-near-end-1-dm-parameters {
                uses statistical-dm-performance-parameters;
                description "This attribute contains the statistical near end performnace parameters.";
            }
            description "This object class represents the PM current data collected in a pro-active delay measurement job (using 1DM).";
        }
        grouping eth-pro-active-1-lm-performance-data {
            container statistical-near-end-1-lm-parameters {
                uses statistical-lm-performance-parameters;
                description "This attribute contains the statistical near end performnace parameters.";
            }
            container total-counters-near-end-1-lm-parameters {
                uses total-counters-lm-performance-parameters;
                description "This attribute contains the results of an on-demand synthetic loss measurement job in the ingress direction.";
            }
            description "This object class represents the PM current data collected in a pro-active loss measurement job (using 1SL).";
        }
        grouping eth-pro-active-dm-performance-data {
            container statistical-bi-dir-dm-parameters {
                uses statistical-dm-performance-parameters;
                description "This attribute contains the statistical bidirectional performnace parameters.";
            }
            container statistical-far-end-dm-parameters {
                uses statistical-dm-performance-parameters;
                description "This attribute contains the statistical far end performnace parameters.";
            }
            container statistical-near-end-dm-parameters {
                uses statistical-dm-performance-parameters;
                description "This attribute contains the statistical near end performnace parameters.";
            }
            description "This object class represents the PM current data collected in a pro-active delay measurement job (using DMM/DMR).";
        }
        grouping eth-pro-active-lm-performance-data {
            container statistical-far-end-lm-parameters {
                uses statistical-lm-performance-parameters;
                description "This attribute contains the statistical far end performnace parameters.";
            }
            container statistical-near-end-lm-parameters {
                uses statistical-lm-performance-parameters;
                description "This attribute contains the statistical near end performnace parameters.";
            }
            container total-counters-far-end-lm-parameters {
                uses total-counters-lm-performance-parameters;
                description "This attribute contains the results of an on-demand synthetic loss measurement job in the egress direction.";
            }
            container total-counters-near-end-lm-parameters {
                uses total-counters-lm-performance-parameters;
                description "This attribute contains the results of an on-demand synthetic loss measurement job in the ingress direction.";
            }
            leaf bidir-unavailable-intervals {
                type uint64;
                description "A generalized (bidirectional) UAS.
                    MEF 35.1: A 32-bit counter reflecting the number of delta-t intervals evaluated as Unavailable (i.e., for which A<Controller, Responder>(delta-t) = 0).
                    ";
            }
            description "This object class represents the PM current data collected in a pro-active loss measurement job (using LMM/LMR or SLM/SLR).";
        }
        grouping eth-on-demand-1-dm-performance-data {
            container statistical-near-end-1-dm-parameters {
                uses statistical-dm-performance-parameters;
                description "This attribute contains the statistical near end performnace parameters.";
            }
            container samples-near-end-1-dm-parameters {
                uses samples-dm-performance-parameters;
                description "This attribute contains the results of an on-demand frame delay measurement job in the ingress direction.";
            }
            description "none";
        }
        grouping eth-on-demand-1-lm-performance-data {
            container statistical-near-end-1-lm-parameters {
                uses statistical-lm-performance-parameters;
                description "This attribute contains the statistical near end performnace parameters.";
            }
            container total-counters-near-end-1-lm-parameters {
                uses total-counters-lm-performance-parameters;
                description "This attribute contains the results of an on-demand synthetic loss measurement job in the ingress direction.";
            }
            description "none";
        }
        grouping eth-on-demand-dm-performance-data {
            container statistical-bi-dir-dm-parameters {
                uses statistical-dm-performance-parameters;
                description "This attribute contains the statistical bidirectional performnace parameters.";
            }
            container statistical-near-end-dm-parameters {
                uses statistical-dm-performance-parameters;
                description "This attribute contains the statistical near end performnace parameters.";
            }
            container statistical-far-end-dm-parameters {
                uses statistical-dm-performance-parameters;
                description "This attribute contains the statistical far end performnace parameters.";
            }
            container samples-near-end-dm-parameters {
                uses samples-dm-performance-parameters;
                description "This attribute contains the results of an on-demand frame delay measurement job in the ingress direction.";
            }
            container samples-far-end-dm-parameters {
                uses samples-dm-performance-parameters;
                description "This attribute contains the results of an on-demand frame delay measurement job in the ingress direction.";
            }
            description "none";
        }
        grouping eth-on-demand-lm-performance-data {
            container statistical-near-end-lm-parameters {
                uses statistical-lm-performance-parameters;
                description "This attribute contains the statistical near end performnace parameters.";
            }
            container statistical-far-end-lm-parameters {
                uses statistical-lm-performance-parameters;
                description "This attribute contains the statistical far end performnace parameters.";
            }
            container total-counters-near-end-lm-parameters {
                uses total-counters-lm-performance-parameters;
                description "This attribute contains the results of an on-demand synthetic loss measurement job in the ingress direction.";
            }
            container total-counters-far-end-lm-parameters {
                uses total-counters-lm-performance-parameters;
                description "This attribute contains the results of an on-demand synthetic loss measurement job in the egress direction.";
            }
            leaf bidir-unavailable-intervals {
                type uint64;
                description "A generalized (bidirectional) UAS.
                    MEF 35.1: A 32-bit counter reflecting the number of delta-t intervals evaluated as Unavailable (i.e., for which A<Controller, Responder>(delta-t) = 0).
                    ";
            }
            description "none";
        }
        grouping eth-pro-active-dual-ended-measurement-job {
            container eth-pro-active-measurement-job-control-source {
                uses eth-pro-active-measurement-job-control-source;
                description "none";
            }
            container eth-pro-active-measurement-job-control-sink {
                uses eth-pro-active-measurement-job-control-sink;
                description "none";
            }
            description "none";
        }
        grouping eth-pro-active-single-ended-measurement-job {
            container eth-pro-active-measurement-job-control-source {
                uses eth-pro-active-measurement-job-control-source;
                description "none";
            }
            description "none";
        }
        grouping eth-on-demand-single-ended-measurement-job {
            container eth-on-demand-measurement-job-control-source {
                uses eth-on-demand-measurement-job-control-source;
                description "none";
            }
            description "none";
        }
        grouping eth-on-demand-dual-ended-measurement-job {
            container eth-on-demand-measurement-job-control-source {
                uses eth-on-demand-measurement-job-control-source;
                description "none";
            }
            container eth-on-demand-measurement-job-control-sink {
                uses eth-on-demand-measurement-job-control-sink;
                description "none";
            }
            description "none";
        }
        grouping eth-loopback-result-data {
            leaf rec-lbr-frames {
                type uint64;
                config false;
                description "G.8052: This parameter returns the total number of received LBR messages, including the out of order LBR frames.";
            }
            leaf out-of-order-lbr-frames {
                type uint64;
                config false;
                description "G.8052: This parameter returns the number of LBR traffic unites (messages) that were received out of order (OO).";
            }
            leaf sent-lbm-frames {
                type uint64;
                config false;
                description "G.8052: This parameter returns the total number of sent LBM frames.";
            }
            leaf crc-lbr-frames {
                type uint64;
                config false;
                description "G.8052: This parameter returns the number of LBR frames where the CRC in the pattern failed.";
            }
            leaf ber-lbr-frames {
                type uint64;
                config false;
                description "G.8052: This parameter returns the number of LBR frames where there was a bit error in the pattern.";
            }
            leaf-list detected-peer-mep {
                type mac-address;
                config false;
                description "G.8052: This parameter returns the MAC addresses of the discovered peer MEPs of the subject MEP.";
            }
            description "none";
        }
        grouping eth-link-trace-result-data {
            list result-list {
                key 'source-address';
                config false;
                uses link-trace-result;
                description "G.8052: This parameter returns the results of the LT process. It contains a list of the result received from the individual LTR frames.
                    The result from the individual LTR frame include the Source Mac Address, the TTL, and TLV.";
            }
            list eth-cfm-link-trace-result-data {
                key 'seq-number';
                uses eth-cfm-link-trace-result-data;
                description "none";
            }
            description "none";
        }
        grouping eth-test-result-data {
            leaf sent-tst-frames {
                type uint64;
                config false;
                description "G.8052: This parameter returns the total number of sent TST frames.
                    Optional in case of sink only MEP.";
            }
            leaf rec-tst-frames {
                type uint64;
                description "Received TST frames. Optional in case of source only MEP.";
            }
            description "none";
        }
        grouping eth-oam-test-loopback-common-pac {
            leaf period {
                type oam-period;
                description "G.8052: This parameter provides the periodicity of the TST OAM messages.
                    G.8052: This parameter provides the periodicity of the LBM OAM messages used in the LB Series process.";
            }
            leaf drop-eligibility {
                type boolean;
                description "G.8052: This parameter provides the eligibility of frames with unicast ETH-TST information to be discarded when congestion conditions are encountered.
                    G.8052: This parameter provides the eligibility of frames with unicast ETH-LB information to be discarded when congestion conditions are encountered.";
            }
            leaf data-tlv-length {
                type uint64;
                description "G.8052: This parameter provides the length (in number of octet) of the optional Data TLV to be included in the TST frame.";
            }
            description "none";
        }
        grouping eth-cfm-maintenance-domain {
            leaf maintenance-domain-name-type {
                type maintenance-domain-name-type;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    The Maintenance Domain name format choice.";
            }
            leaf maintenance-domain-name {
                type string;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    A reference to the maintenance domain that this maintenance group is associated with.";
            }
            description "IEEE CFM parameters applicable to the composing class.
                IEEE P802.1Qcx/D0.3:
                MEF 38:
                A Maintenance Domain is the network or the part of the network for which faults in connectivity can be managed.
                A Maintenance Domain object is required in order to create an MA with a Maintenance Association Identifier (MAID) that includes that Maintenance Domains Name.
                From this Maintenance Domain managed object, all Maintenance Association managed objects associated with that Maintenance Domain managed object can be accessed, and thus controlled.";
        }
        grouping eth-cfm-maintenance-association {
            container maintenance-association-name {
                uses maintenance-association-name;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    The Maintenance Association name and name format choice.";
            }
            leaf id-permission {
                type maintenance-association-id-permission-types;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    This parameter indicates what, if anything, is to be included in the Sender ID TLV transmitted by Maintenance Points configured in this MA.
                    A value of 'defer' means that the contents of the Sender ID TLV are determined by the enclosing Maintenance Domain instance.";
            }
            description "IEEE CFM parameters applicable to the composing class.
                IEEE P802.1Qcx/D0.3:
                Provides configuration and operational data for the Maintenance Associations.
                A Maintenance Association is a set of MEPs, each configured with the same MAID and MD level, established to verify the integrity of a single service instance.
                A Maintenance Association can be thought of as a full mesh of Maintenance Entities among a set of MEPs so configured.";
        }
        grouping eth-cfm-link-trace-pac {
            leaf period {
                type oam-period;
                description "IEEE P802.1Qcx/D0.3:
                    The interval between LTM transmissions to be used by all MEPs in the Maintenance Association.";
            }
            leaf ltm-flags {
                type ltmflags;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    The flags field for the LTMs transmitted by the MEP.";
            }
            leaf target-mep-id {
                type uint64;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    An indication of a destination MEP, the MEPID of a MEP.
                    Alternative to destination MAC address.
                    ";
            }
            leaf drop-eligibility {
                type boolean;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    Drop eligible bit value to be used in the VLAN tag, if present in the transmitted frame.";
            }
            description "none";
        }
        grouping eth-cfm-link-trace-result-data {
            leaf seq-number {
                type uint64;
                description "IEEE P802.1Qcx/D0.3:
                    type uint32 range '0..4294967295'
                    Transaction identifier returned by a previous transmit linktrace message command, indicating which LTMs response is going to be returned.
                    MEF 38:
                    The LTM Transaction Identifier to which the LTR entries will be attached.";
            }
            leaf receive-order {
                type uint64;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    type uint32 range '1..4294967295'
                    An index to distinguish among multiple LTRs with the same LTR Transaction Identifier field value.
                    Assigned sequentially from 1, in the order that the Linktrace Initiator received the LTRs.";
            }
            leaf reply-ttl {
                type uint64;
                config false;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    TTL field value for a returned LTR.
                    Range '0..255'";
            }
            leaf forwarded {
                type boolean;
                config false;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    Indicates if a LTM was forwarded by the responding MP, as returned in the FwdYes flag of the flags field.";
            }
            leaf terminal-mep {
                type boolean;
                config false;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    A Boolean value stating whether the forwarded LTM reached a MEP enclosing its MA, as returned in the Terminal MEP flag of the Flags field.";
            }
            leaf last-egress-identifier {
                type string;
                config false;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    String length '8'
                    An octet field holding the Last Egress Identifier returned in the LTR Egress Identifier TLV of the LTR.
                    The Last Egress Identifier identifies the MEP Linktrace Initiator that originated, or the Linktrace Responder that forwarded, the LTM to which this LTR is the response.
                    This is the same value as the Egress Identifier TLV of that LTM.";
            }
            leaf next-egress-identifier {
                type string;
                config false;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    String length '8'
                    An octet field holding the Next Egress Identifier returned in the LTR Egress Identifier TLV of the LTR.
                    The Next Egress Identifier Identifies the Linktrace Responder that transmitted this LTR, and can forward the LTM to the next hop.
                    This is the same value as the Egress Identifier TLV of the forwarded LTM, if any.
                    If the FwdYes bit of the Flags field is false, the contents of this field are undefined, i.e., any value can be transmitted, and the field is ignored by the receiver.";
            }
            leaf relay-action-field {
                type link-trace-relay-action-field-value;
                config false;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    An enumerated value indicating the value returned in the Relay Action field.
                    ";
            }
            leaf ingress-action-field {
                type link-trace-ingress-action-field-value;
                config false;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    The value returned in the Ingress Action Field of the LTM.
                    IEEE P802.1Qcx/D0.3:
                    The value INGRESS-NO-TLV indicates that no Reply Ingress TLV was returned in the LTM.
                    ";
            }
            leaf ingress-mac {
                type mac-address;
                config false;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    MAC address returned in the ingress MAC address field.
                    IEEE P802.1Qcx/D0.3:
                    If the ingressActionField attribute contains the value INGRESS-NO-TLV, then the contents of this attribute is meaningless.";
            }
            container ingress-port-id {
                config false;
                uses lldp-port-id-subtype;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    Ingress Port ID.
                    IEEE P802.1Qcx/D0.3:
                    If the ingressActionField attribute contains the value INGRESS-NO-TLV, then the contents of this attribute are meaningless.";
            }
            leaf egress-action-field {
                type link-trace-egress-action-field-value;
                config false;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    An enumerated value indicating the value returned in the Egress Action field.
                    IEEE P802.1Qcx/D0.3:
                    The value EGRESS-NO-TLV indicates that no Reply Egress TLV was returned in the LTM.";
            }
            leaf egress-mac {
                type mac-address;
                config false;
                description "IEEE P802.1Qcx/D0.3:
                    MEF 38:
                    MAC address returned in the egress MAC address field.
                    IEEE P802.1Qcx/D0.3:
                    If the egressActionField contains the value EGRESS-NO-TLV, then the contents of this attribute are meaningless.";
            }
            container egress-port-id {
                config false;
                uses lldp-port-id-subtype;
                description "MEF 38:
                    IEEE P802.1Qcx/D0.3:
                    Egress Port ID.
                    IEEE P802.1Qcx/D0.3:
                    If the egressActionField attribute contains the value EGRESS-NO-TLV, then the contents of this attribute are meaningless.";
            }
            leaf organization-specific-tlv {
                type string;
                config false;
                description "String length '0 | 4..1500';
                    All Organization specific TLVs returned in the LTR, if any. Includes all octets including and following the TLV Length field of each TLV, concatenated together.";
            }
            container chassis-id {
                config false;
                uses lldp-chassis-id-subtype;
                description "MEF 38:
                    The chassis-id-subtype contains the chassis ID entity that is listed in the chassis ID field. This is a combination of the 'Chassis ID Subtype' and 'chsssis ID' fields.
                    IEEE P802.1Qcx/D0.3:
                    The Chassis ID returned in the Sender ID TLV of the LTR, if any.
                    The format of a chassis identifier string. Objects of this type are always used with an associated lldp-chassis-is-subtype object, which identifies the format of the particular lldp-chassis-id object instance.
                    If the associated lldp-chassis-id-subtype object has a value of chassis-component, then the octet string identifies a particular instance of the entPhysicalAlias object (defined in IETF RFC 2737) for a chassis component (i.e., an entPhysicalClass value of chassis(3)).
                    If the associated lldp-chassis-id-subtype object has a value of interface-alias, then the octet string identifies a particular instance of the ifAlias object (defined in IETF RFC 2863) for an interface on the containing chassis.
                    If the particular ifAlias object does not contain any values, another chassis identifier type should be used.";
            }
            description "IEEE P802.1Qcx/D0.3:
                MEF 38:
                An index to distinguish among multiple LTRs with the same LTR  transaction-id field value. 
                Assigned sequentially from 1, in the order that the Linktrace Initiator received the LTRs.
                ";
        }
        grouping eth-oam-service {
            container eth-cfm-maintenance-domain {
                uses eth-cfm-maintenance-domain;
                description "none";
            }
            container eth-cfm-maintenance-association {
                uses eth-cfm-maintenance-association;
                description "none";
            }
            container eth-meg-common {
                uses eth-meg-common;
                description "none";
            }
            description "This class defines the parameters for configuration of MEG.";
        }
        grouping eth-oam-mep-service-point {
            container eth-mep-sink {
                uses eth-mep-sink;
                description "none";
            }
            container eth-mep-source {
                uses eth-mep-source;
                description "none";
            }
            container eth-mep-common {
                uses eth-mep-common;
                description "none";
            }
            description "This class defines the common parameters for configuration of Sink and/or Source MEP.";
        }
        grouping eth-oam-mip-service-point {
            container eth-mip-common {
                uses eth-mip-common;
                description "none";
            }
            description "This class defines the common parameters for configuration of MIP.";
        }
        grouping eth-mip-common {
            leaf is-full-mip {
                type boolean;
                config false;
                description "This attribute indicates whether the MIP is a full MIP (true) or a down-half MIP (false). Up-half MIP is not foreseen by G.8052";
            }
            description "none";
        }
        grouping eth-meg-common {
            leaf meg-level {
                type uint64;
                description "none";
            }
            leaf client-mel {
                type uint64;
                description "none";
            }
            leaf meg-identifier {
                type string;
                description "Optional in case 802.1Q maintenanceAssociationName is used.";
            }
            leaf is-cc-enabled {
                type boolean;
                description "This attribute models the MI_CC_Enable signal defined in G.8021 and configured as specified in G8051.
                    ITU-T G.8013/Y.1731 (2015)/Amd.1 (11/2018): When ETH-CC transmission is enabled in a MEG,
                    all MEPs are enabled to periodically transmit frames with ETH-CC information to their peer MEPs in the MEG.";
            }
            leaf cc-period {
                type oam-period;
                description "This attribute models the MI_CC_Period signal defined in G.8021 and configured as specified in G8051. 
                    It is the period at which the CCM message should be sent. 
                    Default values are: 3.33 ms for PS, 100 ms for PM, 1 s for FM.
                    ITU-T G.8013/Y.1731 (2015)/Amd.1 (11/2018): The ETH-CC transmission period is the same for all MEPs in the MEG.";
            }
            description "none";
        }
        grouping eth-test-job-sink-point {
            leaf source-address {
                type mac-address;
                description "This attribute contains the MAC address of the peer MEP.";
            }
            description "none";
        }
        grouping eth-measurement-job-control-common {
            leaf priority {
                type uint64 {
                    range "0..7";
                }
                default "7";
                description "This attribute contains the priority value on which the MEP performs the measurement.
                    When the measurement is enabled, the MEP should use this value to encode the priority of generated measurement frames (OAM PDU frames.).
                    The EMF usese this value to assign the P parameter of the measurement operation.";
            }
            leaf test-identifier {
                type uint64;
                description "This attribute is used to distinguish each measurement session if multiple measurement sessions are simultaneously activated towards a peer MEP including concurrent on-demand and proactive tests.
                    It must be unique at least within the context of any measurement type for the MEG and initiating MEP.
                    Note: The attribute is not used in case of 2-way loss measurement.
                    range of type : 0..(2^32) - 1";
            }
            leaf message-period {
                type uint64;
                default "1000";
                description "This attribute indicates the period (frequency) of the measurement frame transmission.
                    Note that the value 0 means that only one OAM message per measurement interval is generated.
                    Unit is milliseconds.
                    range of type : 100ms, 1s, 10s";
            }
            leaf measurement-interval {
                type uint64;
                description "This attribute contains the discrete non overlapping periods of time (in seconds) during which measurements are performed