module natservice-impl { yang-version 1; namespace "urn:opendaylight:params:xml:ns:yang:natservice:impl"; prefix "natservice-impl"; import config { prefix config; revision-date 2013-04-05; } import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;} import opendaylight-sal-binding-broker-impl { prefix md-sal-binding-impl; revision-date 2013-10-28; } import odl-mdsalutil { prefix odl-mdsal; revision-date 2015-04-10;} import bgpmanager-api { prefix bgpmgr-api; revision-date 2015-04-20;} description "Service definition for NAT Service module"; revision "2016-01-11" { description "Initial revision"; } identity natservice-impl { base config:module-type; config:java-name-prefix NATService; } augment "/config:modules/config:module/config:configuration" { case natservice-impl { when "/config:modules/config:module/config:type = 'natservice-impl'"; container broker { uses config:service-ref { refine type { mandatory true; config:required-identity md-sal-binding:binding-broker-osgi-registry; } } } container rpc-registry { uses config:service-ref { refine type { mandatory true; config:required-identity md-sal-binding:binding-rpc-registry; } } } container bgpmanager { uses config:service-ref { refine type { mandatory true; config:required-identity bgpmgr-api:bgpmanager-api; } } } container notification-service { uses config:service-ref { refine type { mandatory true; config:required-identity md-sal-binding-impl:binding-new-notification-service; } } } container mdsalutil { uses config:service-ref { refine type { mandatory true; config:required-identity odl-mdsal:odl-mdsalutil; } } } } } }