MAC accounting.
Version: 2021-03-01
module huawei-macacc { yang-version 1; namespace "urn:huawei:yang:huawei-macacc"; prefix macacc; import huawei-pub-type { prefix pub-type; } import huawei-extension { prefix ext; } import huawei-l2vpn { prefix l2vpn; } import huawei-bd { prefix bd; } import huawei-ifm { prefix ifm; } import huawei-ethernet { prefix ethernet; } organization "Huawei Technologies Co., Ltd."; contact "Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com Email: support@huawei.com"; description "MAC accounting."; revision "2021-03-01" { description "Add MAC accounting containers."; reference "Huawei private."; } revision "2020-06-11" { description "Add new containers."; reference "Huawei private."; } revision "2020-03-06" { description "Change description."; reference "Huawei private."; } revision "2019-04-15" { description "Init revision."; reference "Huawei private."; } ext:task-name "mac"; rpc reset-mac-accounting-interface { ext:node-ref "/ifm:ifm/ifm:interfaces/ifm:interface"; description "Reset MAC accounting counters."; input { leaf interface-name { type leafref { path "/ifm:ifm/ifm:interfaces/ifm:interface/ifm:name"; } mandatory true; description "Interface name."; } leaf mac-address { type pub-type:mac-address; description "MAC address."; } } } // rpc reset-mac-accounting-interface } // module huawei-macacc
© 2023 YumaWorks, Inc. All rights reserved.