TCP diagnosis tool.
Version: 2019-04-13
submodule huawei-diagnostic-tools-tcp { yang-version 1; belongs-to huawei-diagnostic-tools { prefix diagnostic-tools; } import huawei-pub-type { prefix pub-type; } import ietf-inet-types { prefix inet; } import huawei-network-instance { prefix ni; } import huawei-extension { prefix ext; } include huawei-diagnostic-tools-common; include huawei-diagnostic-tools-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 "TCP diagnosis tool."; revision "2019-04-13" { description "Initial revision."; reference "Huawei private."; } rpc tcp-start-ping { description "Start TCP ping."; input { leaf test-name { type string { length "1..32"; } mandatory true; description "Test name."; } leaf destination { type pub-type:host-name; mandatory true; description "Destination address of the string type."; } leaf timeout { type uint32 { range "0..65535"; } units "ms"; default "2000"; description "Time to wait for a response packet after a test packet is sent."; } leaf count { type uint32 { range "1..4294967295"; } units "packet"; default "5"; description "Number of sent test packets."; } leaf interval { type uint32 { range "1..10000"; } units "ms"; default "500"; description "Interval for sending test packets."; } leaf ttl { type uint32 { range "1..255"; } default "30"; description "Time to live."; } leaf pass-route { type boolean; default "false"; description "Send packet pass route."; } leaf ni-name { type leafref { path "/ni:network-instance/ni:instances/ni:instance/ni:name"; } description "Name of a VPN instance."; } leaf dest-port { type uint32 { range "1..65535"; } default "7"; description "Destination TCP port."; } leaf source-address { type inet:ipv4-address-no-zone; description "Source address."; } } } // rpc tcp-start-ping rpc tcp-stop-ping { ext:node-ref "/diagnostic-tools:diagnostic-tools/diagnostic-tools:tcp/diagnostic-tools:ping-results/diagnostic-tools:ping-result"; description "Stop TCP ping."; input { leaf test-name { type leafref { path "/diagnostic-tools:diagnostic-tools/diagnostic-tools:tcp/diagnostic-tools:ping-results/diagnostic-tools:ping-result/diagnostic-tools:test-name"; } mandatory true; description "Test name."; } } } // rpc tcp-stop-ping rpc tcp-delete-ping { ext:node-ref "/diagnostic-tools:diagnostic-tools/diagnostic-tools:tcp/diagnostic-tools:ping-results/diagnostic-tools:ping-result"; description "Delete TCP ping."; input { leaf test-name { type leafref { path "/diagnostic-tools:diagnostic-tools/diagnostic-tools:tcp/diagnostic-tools:ping-results/diagnostic-tools:ping-result/diagnostic-tools:test-name"; } mandatory true; description "Test name."; } } } // rpc tcp-delete-ping } // submodule huawei-diagnostic-tools-tcp
© 2023 YumaWorks, Inc. All rights reserved.