namespace "urn:opendaylight:params:xml:ns:yang:pbb-types";
prefix "pbb-types";
- description "Common types used for defining Pbb based subinterfaces";
-
- revision "2016-12-14" {
- description
- "Initial revision.";
- }
-
import ietf-yang-types {
prefix yang;
}
- import ietf-interfaces {
- prefix if;
- }
+ description "Common types used for defining Pbb based subinterfaces";
- import yang-ext {
- prefix "ext";
+ revision "2016-12-14" {
+ description
+ "Initial revision.";
}
typedef operation {
namespace "urn:opendaylight:params:xml:ns:yang:subinterface-span";
prefix "subif-span";
- revision "2017-05-10" {
- description
- "Initialial revision that adds support for mirroring interfaces on subinterfaces.
- Vpp implementation allows/implements only two cases:
- - Src: interface |Dst: interface - covered in v3po.yang
- - Src: interface |Dst: subinterface - covered by this model";
+ import ietf-interfaces {
+ prefix "if";
}
- revision "2017-06-07" {
- description "Eliminated config leafrefs in operational tree";
+ import vpp-vlan {
+ prefix "vpp-vlan";
+ }
+
+ import yang-ext {
+ prefix "ext";
}
import v3po {
prefix "v3po";
}
- import vpp-vlan {
- prefix "vpp-vlan";
+ revision "2017-06-07" {
+ description "Eliminated config leafrefs in operational tree";
}
- import yang-ext {
- prefix "ext";
+ revision "2017-05-10" {
+ description
+ "Initialial revision that adds support for mirroring interfaces on subinterfaces.
+ Vpp implementation allows/implements only two cases:
+ - Src: interface |Dst: interface - covered in v3po.yang
+ - Src: interface |Dst: subinterface - covered by this model";
}
augment /if:interfaces/if:interface/vpp-vlan:sub-interfaces/vpp-vlan:sub-interface {
namespace "urn:opendaylight:params:xml:ns:yang:unnumbered:interfaces";
prefix "uni";
- revision "2018-01-03" {
- description
- "Use if:interface-ref for name of the interface which provides IP.";
- }
-
- revision "2017-05-10" {
- description
- "Initialial revision";
- }
-
import ietf-interfaces {
prefix "if";
}
prefix "ext";
}
+ revision "2018-01-03" {
+ description
+ "Use if:interface-ref for name of the interface which provides IP.";
+ }
+
+ revision "2017-05-10" {
+ description
+ "Initialial revision";
+ }
+
grouping unnumbered-config-attributes {
container unnumbered {
presence "Sets interface as unnumbered";
namespace "urn:opendaylight:params:xml:ns:yang:v3po";
prefix "v3po";
+ import iana-if-type {
+ prefix "ianaift";
+ }
+ import ietf-interfaces {
+ prefix "if";
+ }
+ import ietf-yang-types {
+ prefix "yang";
+ }
+ import ietf-inet-types {
+ prefix "inet";
+ }
+ import yang-ext {
+ prefix "ext";
+ }
+
revision "2017-06-07" {
description "Eliminated config leafrefs in operational tree";
}
description "Initial revision of v3po model";
}
- import iana-if-type {
- prefix "ianaift";
- }
- import ietf-interfaces {
- prefix "if";
- }
- import ietf-yang-types {
- prefix "yang";
- }
- import ietf-inet-types {
- prefix "inet";
- }
- import ietf-ip {
- prefix "ip";
- }
- import yang-ext {
- prefix "ext";
- }
-
typedef bridge-domain-ref {
type leafref {
path "/bridge-domains/bridge-domain/name";
namespace "urn:opendaylight:params:xml:ns:yang:vpp-pbb";
prefix "vpp-pbb";
- revision "2016-12-14" {
- description "Initial revision of pbb model";
+ import ietf-interfaces {
+ prefix "if";
}
import pbb-types {
prefix "ext";
}
+ revision "2016-12-14" {
+ description "Initial revision of pbb model";
+ }
+
augment /if:interfaces/if:interface {
ext:augment-identifier "pbb-rewrite-interface-augmentation";
container pbb-rewrite{
namespace "urn:opendaylight:params:xml:ns:yang:vpp:vlan";
prefix "vpp-vlan";
+ import ietf-interfaces {
+ prefix "if";
+ }
+ import ietf-inet-types {
+ prefix inet;
+ }
+ import ietf-yang-types {
+ prefix "yang";
+ }
+ import yang-ext {
+ prefix "ext";
+ }
+ import dot1q-types {
+ prefix dot1q;
+ }
+ import v3po {
+ prefix v3po;
+ }
+
revision "2018-03-19" {
description "Prefix invalid 802dot1q and 802dot1ad identifiers with underscore.";
}
Reuses some concepts from draft-wilton-netmod-intf-vlan-yang-02 model.";
}
- import ietf-interfaces {
- prefix "if";
- }
- import ietf-inet-types {
- prefix inet;
- }
- import ietf-yang-types {
- prefix "yang";
- }
- import yang-ext {
- prefix "ext";
- }
- import dot1q-types {
- prefix dot1q;
- }
- import v3po {
- prefix v3po;
- }
-
typedef sub-interface-status {
type enumeration {
enum "up";