Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
  2.  
  3. description: Demo example
  4.  
  5. metadata:
  6. template_name: sample-tosca-vnfd
  7.  
  8. topology_template:
  9. node_templates:
  10. firewall_vnfc:
  11. type: tosca.nodes.nfv.VNFC.Tacker
  12. properties:
  13. vnfc_driver: ssh
  14. user: root
  15. password: "root"
  16. requirements:
  17. - host:
  18. node: VDU1
  19. relationship: tosca.relationships.HostedOn
  20. interfaces:
  21. Standard:
  22. create: /home/bharatht/firewall_vnfc.sh
  23.  
  24. VDU1:
  25. type: tosca.nodes.nfv.VDU.Tacker
  26. properties:
  27. image: fedora
  28. flavor: m1.small
  29. availability_zone: nova
  30. key_name: cloud
  31. mgmt_driver: noop
  32. config: |
  33. param0: key1
  34. param1: key2
  35.  
  36. CP1:
  37. type: tosca.nodes.nfv.CP.Tacker
  38. properties:
  39. management: true
  40. anti_spoofing_protection: false
  41. requirements:
  42. - virtualLink:
  43. node: VL1
  44. - virtualBinding:
  45. node: VDU1
  46.  
  47. CP2:
  48. type: tosca.nodes.nfv.CP.Tacker
  49. properties:
  50. anti_spoofing_protection: false
  51. requirements:
  52. - virtualLink:
  53. node: VL2
  54. - virtualBinding:
  55. node: VDU1
  56.  
  57. CP3:
  58. type: tosca.nodes.nfv.CP.Tacker
  59. properties:
  60. anti_spoofing_protection: false
  61. requirements:
  62. - virtualLink:
  63. node: VL3
  64. - virtualBinding:
  65. node: VDU1
  66.  
  67. VL1:
  68. type: tosca.nodes.nfv.VL
  69. properties:
  70. network_name: net_mgmt
  71. vendor: Tacker
  72.  
  73. VL2:
  74. type: tosca.nodes.nfv.VL
  75. properties:
  76. network_name: net0
  77. vendor: Tacker
  78.  
  79. VL3:
  80. type: tosca.nodes.nfv.VL
  81. properties:
  82. network_name: net1
  83. vendor: Tacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement