module host-tracker-service { namespace "urn:opendaylight:host-tracker"; prefix host-track; import address-tracker { prefix at; } import opendaylight-inventory { prefix inv; } import network-topology { prefix "topo"; revision-date "2013-10-21"; } import odl-codegen-extensions { prefix oce; } revision 2014-06-24 { description "draft based on address-tracker 2014-06-17"; } typedef host-id { type string; } grouping host { description "List of addresses and attachment points"; uses at:address-node-connector; leaf id { type host-id; } list attachment-points { description "the assumption is that all address can be reached at all attachment points"; uses topo:tp-attributes; key tp-id; leaf corresponding-tp { type topo:tp-ref; } leaf active { type boolean; } } } augment "/topo:network-topology/topo:topology/topo:node" { oce:augment-identifier "host-node"; uses host; } }