Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. module smartphone-provider-impl {
  2. yang-version 1;
  3. namespace "urn:opendaylight:params:xml:ns:yang:controller:config:smartphone-provider:impl";
  4. prefix "smartphone-provider-impl";
  5.  
  6. import config { prefix config; revision-date 2013-04-05; }
  7. import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }
  8.  
  9. description
  10. "This module contains the base YANG definitions for smartphone-provider impl implementation.";
  11.  
  12. revision "2015-03-04" {
  13. description
  14. "Initial revision.";
  15. }
  16.  
  17. // This is the definition of the service implementation as a module identity
  18. identity smartphone-provider-impl {
  19. base config:module-type;
  20.  
  21. // Specifies the prefix for generated java classes.
  22. config:java-name-prefix SmartphoneProvider;
  23. }
  24.  
  25. // Augments the 'configuration' choice node under modules/module.
  26. augment "/config:modules/config:module/config:configuration" {
  27. case smartphone-provider-impl {
  28. when "/config:modules/config:module/config:type = 'smartphone-provider-impl'";
  29.  
  30. //wires in the data-broker service
  31. container data-broker {
  32. uses config:service-ref {
  33. refine type {
  34. mandatory false;
  35. config:required-identity mdsal:binding-async-data-broker;
  36. }
  37. }
  38. }
  39. }
  40. }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement