RIP component.
Version: 2020-06-17
module huawei-rip { yang-version 1; namespace "urn:huawei:yang:huawei-rip"; prefix rip; import huawei-network-instance { prefix ni; } import huawei-l3vpn { prefix l3vpn; } import huawei-ifm { prefix ifm; } import huawei-routing-policy { prefix rtp; } import huawei-acl { prefix acl; } import huawei-xpl { prefix xpl; } import huawei-pub-type { prefix pub-type; } import huawei-extension { prefix ext; } import ietf-inet-types { prefix inet; } import ietf-yang-types { prefix yang; } include huawei-rip-type; 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 "RIP component."; revision "2020-06-17" { description "Add leaf units."; reference "Huawei private."; } revision "2020-03-23" { description "Modify the description."; reference "Huawei private."; } revision "2020-03-09" { description "Modify the description."; reference "Huawei private."; } revision "2020-03-03" { description "Modify the description."; reference "Huawei private."; } revision "2020-02-14" { description "Modify input output split-horizon poison-reverse data type."; reference "Huawei private."; } revision "2020-02-04" { description "Remove bfd detect-multiplier."; reference "Huawei private."; } revision "2020-01-14" { description "Add RPC reset RIP."; reference "Huawei private."; } revision "2020-01-03" { description "Add container networks."; reference "Huawei private."; } revision "2019-12-16" { description "Add container filter imports filter export and import route."; reference "Huawei private."; } revision "2019-04-04" { description "Initial revision."; reference "Huawei private."; } ext:task-name "rip"; rpc reset-rip-configuration { ext:node-ref "/ni:network-instance/ni:instances/ni:instance/rip:rip"; description "Reset RIP configuration information."; input { choice process { mandatory true; description "Reset rip specified process or all processes."; case process-id { description "Specify the RIP process which needs to be reset."; leaf process-id { type uint32 { range "1..4294967295"; } description "Specify the RIP process which needs to be reset."; } } // case process-id case all-process { description "Reset all RIP processes."; leaf all-process { type rip-enable-flag; default "disable"; description "Reset all the processes."; } } // case all-process } // choice process } } // rpc reset-rip-configuration rpc reset-rip-import-routes { ext:node-ref "/ni:network-instance/ni:instances/ni:instance/rip:rip/rip:processs/rip:process/rip:import-routes/rip:import-route"; description "Reset import routes from other protocols into RIP."; input { choice process { mandatory true; description "Reset rip specified process or all processes."; case process-id { description "Specify the RIP process which needs to be reset."; leaf process-id { type uint32 { range "1..4294967295"; } description "Specify the RIP process which needs to be reset."; } } // case process-id case all-process { description "Reset all RIP processes."; leaf all-process { type rip-enable-flag; default "disable"; description "Reset all the processes."; } } // case all-process } // choice process } } // rpc reset-rip-import-routes rpc reset-rip-statistics { ext:node-ref "/ni:network-instance/ni:instances/ni:instance/rip:rip/rip:processs/rip:process/rip:statistics"; description "Reset RIP statistical information."; input { choice process { mandatory true; description "Reset rip specified process or all processes."; case process-id { description "Specify the RIP process which needs to be reset."; leaf process-id { type uint32 { range "1..4294967295"; } description "Specify the RIP process which needs to be reset."; } } // case process-id case all-process { description "Reset all RIP processes."; leaf all-process { type rip-enable-flag; default "disable"; description "Reset all the processes."; } } // case all-process } // choice process leaf interface { type leafref { path "/ifm:ifm/ifm:interfaces/ifm:interface/ifm:name"; } must "../process-id"; description "Specify the interface on which statistics needs to be cleared."; } leaf neighbor-address { type inet:ipv4-address-no-zone; description "Specify the neighbor IP address."; } } } // rpc reset-rip-statistics } // module huawei-rip
© 2023 YumaWorks, Inc. All rights reserved.