Interface OpenconfigVlanTypesData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    @Generated("mdsal-binding-generator")
    public interface OpenconfigVlanTypesData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    This module defines configuration and state variables for VLANs, in addition to VLAN parameters associated with interfaces

    This class represents the following YANG schema fragment defined in module openconfig-vlan-types

     module openconfig-vlan-types {
       yang-version 1;
       namespace "http://openconfig.net/yang/vlan-types";
       prefix oc-vlan-types;
       import openconfig-extensions {
         prefix oc-ext;
       }
       oc-ext:openconfig-version 3.1.1;
       revision 2020-06-30 {
       }
       revision 2019-01-31 {
       }
       revision 2018-11-21 {
       }
       revision 2018-02-14 {
       }
       revision 2017-07-14 {
       }
       revision 2016-05-26 {
       }
       oc-ext:regexp-posix;
       oc-ext:catalog-organization openconfig;
       oc-ext:origin openconfig;
       identity TPID_TYPES {
       }
       identity TPID_0X8100 {
         base TPID_TYPES;
       }
       identity TPID_0X88A8 {
         base TPID_TYPES;
       }
       identity TPID_0X9100 {
         base TPID_TYPES;
       }
       identity TPID_0X9200 {
         base TPID_TYPES;
       }
       identity TPID_ANY {
         base TPID_TYPES;
       }
       typedef vlan-id {
         type uint16 {
           range 1..4094;
         }
       }
       typedef vlan-range {
         type string {
           pattern "^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$";
           oc-ext:posix-pattern "^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$";
         }
       }
       typedef qinq-id {
         type string {
           pattern "^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$";
           oc-ext:posix-pattern "^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$";
         }
       }
       typedef qinq-id-range {
         type union {
           type string {
             pattern "^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$";
             oc-ext:posix-pattern "^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$";
           }
           type string {
             pattern "^(\*|(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9]))\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$";
             oc-ext:posix-pattern "^(\*|(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9]))\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$";
           }
         }
       }
       typedef vlan-mode-type {
         type enumeration {
           enum ACCESS {
           }
           enum TRUNK {
           }
         }
       }
       typedef vlan-ref {
         type union {
           type vlan-id;
           type string;
         }
       }
       typedef vlan-stack-action {
         type enumeration {
           enum PUSH {
           }
           enum POP {
           }
           enum SWAP {
           }
         }
       }
     }