diff options
author | 2016-02-02 08:35:12 +0100 | |
---|---|---|
committer | 2016-02-02 13:16:31 +0100 | |
commit | a03a2cb26606a9099f2ea8cfd589f7ef503f0374 (patch) | |
tree | 071291fffee8e08fd6ae5481d99798666c64c480 /vbd/api/src/main/yang/vbridge-topology.yang | |
parent | 136b9074bc3a49fbbb86699eec6458d7f4d7ba7f (diff) |
Adding named augmentation + prepare naked application.
Named augmentation of node topology-types was added for
better readibility of generated code.
Running application was created. It is possible to start via
installing feature odl-vbd-rest.
Change-Id: I2d919cd20d962ff9b28143794f6984137331c51a
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Diffstat (limited to 'vbd/api/src/main/yang/vbridge-topology.yang')
-rw-r--r-- | vbd/api/src/main/yang/vbridge-topology.yang | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vbd/api/src/main/yang/vbridge-topology.yang b/vbd/api/src/main/yang/vbridge-topology.yang index 36e50aea0..f105b5e41 100644 --- a/vbd/api/src/main/yang/vbridge-topology.yang +++ b/vbd/api/src/main/yang/vbridge-topology.yang @@ -37,6 +37,7 @@ module vbridge-topology { import network-topology { prefix nt; revision-date 2013-10-21; } import odl-external-reference { prefix extref; } import v3po { prefix "v3po"; } + import yang-ext { prefix ext; revision-date "2013-07-09"; } identity tunnel-type { description "Type of tunneling technology"; @@ -56,12 +57,14 @@ module vbridge-topology { } augment "/nt:network-topology/nt:topology/nt:topology-types" { + ext:augment-identifier "topology-types-vbridge-augment"; container vbridge-topology { presence "Indicates a virtual bridge domain topology"; } } augment "/nt:network-topology/nt:topology" { + ext:augment-identifier "topology-vbridge-augment"; when "./nt:topology-types/vbridge-topology"; // Pointer to the NETCONF topology which supports this bridge domain |