huawei-flowspec

Flow specification.

  • Version: 2020-03-23

    huawei-flowspec@2020-03-23


    
      module huawei-flowspec {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-flowspec";
    
        prefix flowspec;
    
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-extension {
          prefix ext;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import huawei-ifm {
          prefix ifm;
        }
    
        include huawei-flowspec-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 "Flow specification.";
    
        revision "2020-03-23" {
          description
            "Modify container condition.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-05-08" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "flow-route";
    
        container flowspec {
          description
            "Configure flow specification.";
          container interface-groups {
            description
              "List of flow specification interface groups.";
            list interface-group {
              key "id";
              max-elements 100;
              description
                "Configure flow specification interface group.";
              leaf id {
                type uint16 {
                  range "0..16383";
                }
                description
                  "Flow specification interface group ID.";
              }
    
              leaf description {
                type string {
                  length "1..63";
                  pattern '([^?]*)';
                }
                description
                  "Flow specification interface group description.";
              }
    
              leaf-list interface-name {
                type leafref {
                  path "/ifm:ifm/ifm:interfaces/ifm:interface/ifm:name";
                }
                max-elements 500;
                description
                  "Configure interface in flow specification interface group.";
              }
            }  // list interface-group
          }  // container interface-groups
        }  // container flowspec
      }  // module huawei-flowspec
    

© 2023 YumaWorks, Inc. All rights reserved.