huawei-ospfv2-sr

OSPF segment routing management.

  • Version: 2020-06-17

    huawei-ospfv2-sr@2020-06-17


    
      module huawei-ospfv2-sr {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-ospfv2-sr";
    
        prefix ospfv2-sr;
    
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-ospfv2 {
          prefix ospfv2;
        }
        import huawei-routing-policy {
          prefix rtp;
        }
        import huawei-segment-routing {
          prefix sr;
        }
        import huawei-extension {
          prefix ext;
        }
        import ietf-inet-types {
          prefix inet;
        }
    
        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
          "OSPF segment routing management.";
    
        revision "2020-06-17" {
          description "Add leaf units.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-03-03" {
          description "Modify the description.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-02-04" {
          description "Modify the description.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-04-04" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "ospf";
    
        typedef lsp-trigger-type {
          type enumeration {
            enum "ip-prefix" {
              value 0;
              description
                "Trigger IP prefix list for segment routing.";
            }
            enum "none" {
              value 1;
              description
                "Do not trigger FECs for segment routing.";
            }
            enum "host" {
              value 2;
              description
                "Trigger host FECs for segment routing.";
            }
          }
          description
            "Segment routing lsp trigger type.";
        }
    
        typedef prefix-sid-type {
          type enumeration {
            enum "absolute" {
              value 1;
              description "Absolute value.";
            }
            enum "index" {
              value 2;
              description "Index.";
            }
          }
          description "Prefix SID type.";
        }
      }  // module huawei-ospfv2-sr
    

© 2023 YumaWorks, Inc. All rights reserved.