Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.44 KB | None | 0 0
  1. tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
  2.  
  3. description: Simple chain demo NSD
  4.  
  5. metadata:
  6. ID: Simple chain demo # ID of this Network Service Descriptor
  7. vendor: Red Hat Inc. # Provider or vendor of the Network Service
  8. version: 1 # Version of the Network Service Descriptor
  9.  
  10. topology_template:
  11. inputs:
  12. node_templates:
  13. VNF1:
  14. type: tosca.nodes.nfv.VNF.CloudRouter
  15. properties:
  16. vim_id: openstack-nfvpe # ManageIQ provider entry for openstack cloud
  17. vendor: cloudrouter
  18. id: 1
  19. version: 1
  20. ansible_template_name: nfv-demo-routers
  21. ansible_vim_id: ansible Configuration Manager
  22.  
  23. requirements:
  24. - virtualLink1: CloudExternal # the subsititution mappings in VNF1 has virtualLink1: [CP1, virtualLink]
  25. - virtualLink2: subscriber # the subsititution mappings in VNF1 has virtualLink2: [CP2, virtualLink]
  26. - virtualLink3: VL1 # the subsititution mappings in VNF1 has virtualLink3: [CP3, virtualLink]
  27. - virtualLink4: # the subsititution mappings in VNF1 has virtualLink4: [CP4, virtualLink]
  28. - virtualLinkMgmt: net_mgmt # the subsititution mappings in VNF1 has virtualLinkMgmt: [CP5, virtualLink]
  29.  
  30. capabilities:
  31. forwarder1: # the subsititution mappings in VNF1 has forwarder1: [CP1, forwarder]
  32. forwarder2: # the subsititution mappings in VNF1 has forwarder2: [CP2, forwarder]
  33. forwarder3: # the subsititution mappings in VNF1 has forwarder3: [CP3, forwarder]
  34.  
  35. VNF2:
  36. type: tosca.nodes.nfv.VNF.CloudRouter
  37. properties:
  38. vim_id: openstack-nfvpe # ManageIQ provider entry for openstack cloud
  39. vendor: cloudrouter
  40. id: 2
  41. version: 1
  42. ansible_template_name: nfv-demo-routers
  43. ansible_vim_id: ansible Configuration Manager
  44.  
  45. requirements:
  46. - virtualLink1: CloudExternal # the subsititution mappings in VNF1 has virtualLink1: [CP1, virtualLink]
  47. - virtualLink2: VL1 # the subsititution mappings in VNF1 has virtualLink2: [CP2, virtualLink]
  48. - virtualLink3: VL2 # the subsititution mappings in VNF1 has virtualLink3: [CP3, virtualLink]
  49. - virtualLink4: # the subsititution mappings in VNF1 has virtualLink4 [CP4, virtualLink]
  50. - virtualLinkMgmt: net_mgmt # the subsititution mappings in VNF1 has virtualLinkMgmt: [CP5, virtualLink]
  51.  
  52. capabilities:
  53. - forwarder1: # the subsititution mappings in VNF1 has forwarder1: [CP1, forwarder]
  54. - forwarder2: # the subsititution mappings in VNF1 has forwarder2: [CP2, forwarder]
  55. - forwarder3: # the subsititution mappings in VNF1 has forwarder3: [CP3, forwarder]
  56.  
  57. VNF3:
  58. type: tosca.nodes.nfv.VNF.CloudRouter
  59. properties:
  60. vim_id: openstack-nfvpe # ManageIQ provider entry for openstack cloud
  61. vendor: cloudrouter
  62. id: 3
  63. version: 1
  64. ansible_template_name: nfv-demo-routers
  65. ansible_vim_id: ansible Configuration Manager
  66.  
  67. requirements:
  68. - virtualLink1: CloudExternal # the subsititution mappings in VNF1 has virtualLink1: [CP1, virtualLink]
  69. - virtualLink2: VL2 # the subsititution mappings in VNF1 has virtualLink2: [CP2, virtualLink]
  70. - virtualLink3: subinternet # the subsititution mappings in VNF1 has virtualLink3: [CP3, virtualLink]
  71. - virtualLink4: # the subsititution mappings in VNF1 has virtualLink4: [CP4, virtualLink]
  72. - virtualLinkMgmt: net_mgmt # the subsititution mappings in VNF1 has virtualLinkMgmt: [CP5, virtualLink]
  73.  
  74. capabilities:
  75. forwarder1: # the subsititution mappings in VNF1 has forwarder1: [CP1, forwarder]
  76. forwarder2: # the subsititution mappings in VNF1 has forwarder2: [CP2, forwarder]
  77. forwarder4: # the subsititution mappings in VNF1 has forwarder4: [CP4, forwarder]
  78.  
  79. CPnsd1:
  80. type: tosca.nodes.nfv.CP
  81. properties:
  82. type:
  83. requirements:
  84. - virtualBinding:
  85. node: VNF1
  86. - virtualLink:
  87. node: CloudExternal
  88.  
  89. CPnsd2:
  90. type: tosca.nodes.nfv.CP
  91. properties:
  92. type:
  93. requirements:
  94. - virtualBinding:
  95. node: VNF2
  96. - virtualLink:
  97. node: CloudExternal
  98.  
  99. net_mgmt:
  100. type: tosca.nodes.nfv.VL
  101. properties:
  102. network_type: flat
  103. vendor: openstack
  104. cidr: 10.0.13.0/24
  105.  
  106. subscriber:
  107. type: tosca.nodes.nfv.VL
  108. properties:
  109. network_type: flat
  110. vendor: openstack
  111. cidr: 10.0.20.0/24
  112.  
  113. subinternet:
  114. type: tosca.nodes.nfv.VL
  115. properties:
  116. network_type: flat
  117. vendor: openstack
  118. cidr: 10.0.21.0/24
  119.  
  120. CloudExternal:
  121. type: tosca.nodes.nfv.VL
  122. properties:
  123. network_type: flat
  124. vendor: openstack
  125. cidr: 10.3.0.0/24
  126.  
  127. VL1:
  128. type: tosca.nodes.nfv.VL
  129. properties:
  130. network_type: something
  131. vendor: openstack
  132. cidr: 10.10.0.0/24
  133.  
  134. VL2:
  135. type: tosca.nodes.nfv.VL
  136. properties:
  137. network_type: something
  138. vendor: openstack
  139. cidr: 10.11.0.0/24
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement