Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
  2.  
  3. description: OpenWRT (v5) - rejects everything on firewall
  4.  
  5. metadata:
  6. template_name: OpenWRT
  7.  
  8. topology_template:
  9. node_templates:
  10.  
  11. VDU1:
  12. type: tosca.nodes.nfv.VDU.Tacker
  13. capabilities:
  14. nfv_compute:
  15. properties:
  16. num_cpus: 1
  17. mem_size: 512 MB
  18. disk_size: 1 GB
  19. properties:
  20. image: OpenWRT
  21. config:
  22. firewall: |
  23. config defaults
  24. option syn_flood '1'
  25. option input 'REJECT'
  26. option output 'REJECT'
  27. option forward 'REJECT'
  28. mgmt_driver: openwrt
  29. monitoring_policy:
  30. name: ping
  31. parameters:
  32. count: 3
  33. interval: 400
  34. actions:
  35. failure: respawn
  36.  
  37. CP1:
  38. type: tosca.nodes.nfv.CP.Tacker
  39. properties:
  40. management: true
  41. order: 0
  42. anti_spoofing_protection: false
  43. requirements:
  44. - virtualLink:
  45. node: VL1
  46. - virtualBinding:
  47. node: VDU1
  48.  
  49. VL1:
  50. type: tosca.nodes.nfv.VL
  51. properties:
  52. network_name: net_mgmt
  53. vendor: Tacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement