3 namespace "urn:opendaylight:params:xml:ns:yang:ovsdb";
6 import network-topology {prefix "topo"; revision-date "2013-10-21"; }
7 import yang-ext { prefix "ext"; }
8 import ietf-inet-types { prefix inet; }
9 import overlay { prefix overlay; }
10 import ietf-yang-types { prefix yang; revision-date "2013-07-15";}
12 revision "2015-01-05" {
13 description "Initial revision of southbound model";
16 typedef ovsdb-bridge-ref {
17 description "A reference to an ovsdb bridge";
18 type instance-identifier;
21 typedef ovsdb-node-ref {
22 description "A reference to an ovsdb node";
23 type instance-identifier;
26 grouping ovsdb-bridge-attributes {
28 description "The unique identifier of the bridge";
33 description "The name of the bridge";
38 description "The OVSDB which this bridge belongs to";
43 grouping ovsdb-node-attributes {
44 uses overlay:ip-port-locator;
46 list managed-node-entry {
49 type ovsdb-bridge-ref;
55 identity interface-type-base {
56 description "Base identity for all OVSDB interface types";
59 identity interface-type-system {
60 description "Interface type for system interfaces";
61 base interface-type-base;
64 identity interface-type-internal {
65 description "Interface type for internal interfaces";
66 base interface-type-base;
69 identity interface-type-vxlan {
70 description "Interface type for vxlan interfaces";
71 base interface-type-base;
74 identity interface-type-patch {
75 description "Interface type for patch interfaces";
76 base interface-type-base;
79 grouping ovsdb-port-interface-attributes {
81 description "The unique identifier of the OVSDB port";
86 description "The unique identifier of the OVSDB interface";
91 description "The name of the OVSDB port/interface";
96 description "The type of the OVSDB interface";
98 base interface-type-base;
103 augment "/topo:network-topology/topo:topology/topo:node" {
104 description "Augmentation for bridge nodes managed by ovsdb";
105 ext:augment-identifier "ovsdb-managed-node-augmentation";
106 uses ovsdb-bridge-attributes;
109 augment "/topo:network-topology/topo:topology/topo:node" {
110 description "Augment topology node for an ovsdb node";
111 ext:augment-identifier "ovsdb-node-augmentation";
112 uses ovsdb-node-attributes;
115 augment "/topo:network-topology/topo:topology/topo:node/topo:termination-point" {
116 description "Augment topology node termination-point for an ovsdb port/interface";
117 ext:augment-identifier "ovsdb-termination-point-augmentation";
118 uses ovsdb-port-interface-attributes;