Segment routing IPv6.
Version: 2021-08-26
module huawei-srv6 { yang-version 1; namespace "urn:huawei:yang:huawei-srv6"; prefix srv6; import huawei-network-instance { prefix ni; } import ietf-inet-types { prefix inet; } import huawei-extension { prefix ext; } import huawei-ifm { prefix ifm; } import huawei-evpl { prefix evpl; } import huawei-bd { prefix bd; } import huawei-pub-type { prefix pub-type; } include huawei-srv6-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 "Segment routing IPv6."; revision "2021-08-26" { description "Add end-dt2us container."; reference "Huawei private."; } revision "2020-06-17" { description "Add leaf units."; reference "Huawei private."; } revision "2020-05-25" { description "Add mapping-policys container."; reference "Huawei private."; } revision "2020-05-18" { description "Modify the default value of path-mtu leaf."; reference "Huawei private."; } revision "2020-05-10" { 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-24" { description "Add end-ass container."; reference "Huawei private."; } revision "2020-02-14" { description "Add path-mtu-compensation leaf."; reference "Huawei private."; } revision "2020-02-04" { description "Add new leaf."; reference "Huawei private."; } revision "2020-01-20" { description "Add path-mtu leaf."; reference "Huawei private."; } revision "2019-12-27" { description "Modify the default value about leaf protocol of end-dt6s."; reference "Huawei private."; } revision "2019-11-30" { description "Add end-dt6s container."; reference "Huawei private."; } revision "2019-11-22" { description "Reconstructing Yang file by yin mechanism."; reference "Huawei private."; } revision "2019-04-04" { description "Initial revision."; reference "Huawei private."; } ext:task-name "segr"; rpc get-available-static-sid { description "Query a maximum of 10 available SRv6 static SIDs for a specified locator name."; input { leaf locator-name { type string { length "1..31"; } mandatory true; description "Locator name."; } leaf begin-value { type inet:ipv6-address-no-zone; description "Start value in the range of available SRv6 static SIDs."; } } output { leaf sid-value1 { type inet:ipv6-address-no-zone; description "The first available SRv6 static SID."; } leaf sid-value2 { type inet:ipv6-address-no-zone; description "The second available SRv6 static SID."; } leaf sid-value3 { type inet:ipv6-address-no-zone; description "The third available SRv6 static SID."; } leaf sid-value4 { type inet:ipv6-address-no-zone; description "The fourth available SRv6 static SID."; } leaf sid-value5 { type inet:ipv6-address-no-zone; description "The fifth available SRv6 static SID."; } leaf sid-value6 { type inet:ipv6-address-no-zone; description "The sixth available SRv6 static SID."; } leaf sid-value7 { type inet:ipv6-address-no-zone; description "The seventh available SRv6 static SID."; } leaf sid-value8 { type inet:ipv6-address-no-zone; description "The eighth available SRv6 static SID."; } leaf sid-value9 { type inet:ipv6-address-no-zone; description "The ninth available SRv6 static SID."; } leaf sid-value10 { type inet:ipv6-address-no-zone; description "The tenth available SRv6 static SID."; } } } // rpc get-available-static-sid } // module huawei-srv6
© 2023 YumaWorks, Inc. All rights reserved.