SHARE
TWEET

Untitled

a guest Apr 27th, 2016 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. description: Create default topology
  2. parameters:
  3.   tenant:
  4.     default: admin
  5.     type: string
  6.     label: null
  7.     hidden: false
  8.   location_id:
  9.     default: 2
  10.     type: string
  11.     label: null
  12.     hidden: false
  13.   NFVgrid_endpoint:
  14.     default: 'http://192.168.1.190:8000/api/v1'
  15.     type: string
  16.     label: null
  17.     hidden: false
  18.   NFVgrid_user:
  19.     default: admin
  20.     type: string
  21.     label: null
  22.     hidden: false
  23.   NFVgrid_pass:
  24.     default: 'pass123!'
  25.     type: string
  26.     label: null
  27.     hidden: true
  28.   regionOne_id:
  29.     default: 1
  30.     type: string
  31.     label: null
  32.     hidden: false
  33.   external_net_name:
  34.     default: external
  35.     type: string
  36.     label: null
  37.     hidden: false
  38.   external_net_cidr:
  39.     default: 10.200.0.0/24
  40.     type: string
  41.     label: null
  42.     hidden: false
  43.   external_net_gateway:
  44.     default: 10.200.0.1
  45.     type: string
  46.     label: null
  47.     hidden: false
  48.   external_net_dhcp:
  49.     default: true
  50.     type: boolean
  51.     label: null
  52.     hidden: false
  53.   external_subnet_name:
  54.     default: external_subnet
  55.     type: string
  56.     label: null
  57.     hidden: false
  58.   internal_net_name:
  59.     default: internal
  60.     type: string
  61.     label: null
  62.     hidden: false
  63.   internal_net_cidr:
  64.     default: 10.201.0.0/24
  65.     type: string
  66.     label: null
  67.     hidden: false
  68.   internal_net_gateway:
  69.     default: 10.201.0.1
  70.     type: string
  71.     label: null
  72.     hidden: false
  73.   internal_net_dhcp:
  74.     default: true
  75.     type: boolean
  76.     label: null
  77.     hidden: false
  78.   internal_subnet_name:
  79.     default: internal_subnet
  80.     type: string
  81.     label: null
  82.     hidden: false
  83.   management_net_name:
  84.     default: management
  85.     type: string
  86.     label: null
  87.     hidden: false
  88.   management_net_cidr:
  89.     default: 10.251.0.0/24
  90.     type: string
  91.     label: null
  92.     hidden: false
  93.   management_net_gateway:
  94.     default: 10.251.0.1
  95.     type: string
  96.     label: null
  97.     hidden: false
  98.   management_net_dhcp:
  99.     default: true
  100.     type: boolean
  101.     label: null
  102.     hidden: false
  103.   management_subnet_name:
  104.     default: management_subnet
  105.     type: string
  106.     label: null
  107.     hidden: false
  108.   vre_USERNAME:
  109.     default: root
  110.     type: string
  111.     label: null
  112.     hidden: false
  113.   vre_PASSWORD:
  114.     default: 'pass123!'
  115.     type: string
  116.     label: null
  117.     hidden: false
  118.   vre_ROUTER_ID:
  119.     default: 6.6.6.6
  120.     type: string
  121.     label: null
  122.     hidden: false
  123.   vpfe_USERNAME:
  124.     default: root
  125.     type: string
  126.     label: null
  127.     hidden: false
  128.   vpfe_PASSWORD:
  129.     default: root
  130.     type: string
  131.     label: null
  132.     hidden: false
  133.   vs_USERNAME:
  134.     default: root
  135.     type: string
  136.     label: null
  137.     hidden: false
  138.   vs_PASSWORD:
  139.     default: 'pass123!'
  140.     type: string
  141.     label: null
  142.     hidden: false
  143.   vs_MOVIE:
  144.     default: big_buck_bunny.mp4
  145.     type: string
  146.     label: null
  147.     hidden: false
  148.   vc_USERNAME:
  149.     default: root
  150.     type: string
  151.     label: null
  152.     hidden: false
  153.   vc_PASSWORD:
  154.     default: 'pass123!'
  155.     type: string
  156.     label: null
  157.     hidden: false
  158. resources:
  159.   vmx:
  160.     properties:
  161.       type: ROUTER
  162.       name: vmx
  163.       functions:
  164.         - vendor: Juniper
  165.           model: VMX_VRE-neighbor
  166.           version: 1.0.1
  167.           name: vre
  168.           properties:
  169.             USERNAME:
  170.               get_param: vre_USERNAME
  171.             PASSWORD:
  172.               get_param: vre_PASSWORD
  173.             ROUTER_ID:
  174.               get_param: vre_ROUTER_ID
  175.         - vendor: Juniper
  176.           model: VMX_VPFE
  177.           version: 1.0.1
  178.           name: vpfe
  179.           properties:
  180.             USERNAME:
  181.               get_param: vpfe_USERNAME
  182.             PASSWORD:
  183.               get_param: vpfe_PASSWORD
  184.             LEFT_NETWORK:
  185.               get_resource: internal_net
  186.             RIGHT_NETWORK:
  187.               get_resource: external_net
  188.       location:
  189.         x: 20
  190.         'y': 15
  191.         id:
  192.           get_param: location_id
  193.     type: 'OS::NFVgrid::Service'
  194.     depends_on:
  195.       - internal_subnet
  196.       - external_subnet
  197.   vmx_vmx_connection:
  198.     type: 'OS::NFVgrid::LocationConnection'
  199.     depends_on: vmx
  200.     properties:
  201.       target_location_id:
  202.         get_param: location_id
  203.       source_location_id:
  204.         get_param: regionOne_id
  205.   vs:
  206.     properties:
  207.       type: WEB_APPLICATION
  208.       name: vs
  209.       functions:
  210.         - vendor: NGNWare
  211.           model: Video server
  212.           version: 0.1.0
  213.           name: vs
  214.           properties:
  215.             USERNAME:
  216.               get_param: vs_USERNAME
  217.             PASSWORD:
  218.               get_param: vs_PASSWORD
  219.             NETWORK:
  220.               get_resource: internal_net
  221.             MOVIE:
  222.               get_param: vs_MOVIE
  223.       location:
  224.         x: 40
  225.         'y': 15
  226.         id:
  227.           get_param: location_id
  228.     type: 'OS::NFVgrid::Service'
  229.     depends_on:
  230.       - internal_subnet
  231.   35c79a68-5153-4f13-9378-4e93a225d028:
  232.     properties:
  233.       target_service_id:
  234.         get_resource: vc
  235.       source_service_id:
  236.         get_resource: vs
  237.       source_anchor: RIGHT
  238.       target_anchor: RIGHT
  239.       location:
  240.         get_param: location_id
  241.       NFVgrid_endpoint:
  242.         get_param: NFVgrid_endpoint
  243.       NFVgrid_user:
  244.         get_param: NFVgrid_user
  245.       NFVgrid_pass:
  246.         get_param: NFVgrid_pass
  247.       tenant:
  248.         get_param: tenant
  249.     type: 'OS::NFVgrid::Connection'
  250.     depends_on:
  251.       - vs
  252.       - vc
  253.   719a697f-e116-476f-a414-a5dbfd44e3f4:
  254.     properties:
  255.       target_service_id:
  256.         get_resource: vc
  257.       source_service_id:
  258.         get_resource: vs
  259.       source_anchor: LEFT
  260.       target_anchor: LEFT
  261.       location:
  262.         get_param: location_id
  263.       NFVgrid_endpoint:
  264.         get_param: NFVgrid_endpoint
  265.       NFVgrid_user:
  266.         get_param: NFVgrid_user
  267.       NFVgrid_pass:
  268.         get_param: NFVgrid_pass
  269.       tenant:
  270.         get_param: tenant
  271.     type: 'OS::NFVgrid::Connection'
  272.     depends_on:
  273.       - vs
  274.       - vc
  275.   vc:
  276.     properties:
  277.       type: WEB_APPLICATION
  278.       name: vc
  279.       functions:
  280.         - vendor: NGNWare
  281.           model: Video client
  282.           version: 0.1.0
  283.           name: vc
  284.           properties:
  285.             USERNAME:
  286.               get_param: vc_USERNAME
  287.             PASSWORD:
  288.               get_param: vc_PASSWORD
  289.             NETWORK:
  290.               get_resource: internal_net
  291.       location:
  292.         x: 40
  293.         'y': 30
  294.         id:
  295.           get_param: location_id
  296.     type: 'OS::NFVgrid::Service'
  297.     depends_on:
  298.       - internal_subnet
  299.   external_net:
  300.     type: 'OS::Neutron::Net'
  301.     properties:
  302.       name:
  303.         get_param: external_net_name
  304.       value_specs:
  305.         'router:external': true
  306.       shared: true
  307.   external_subnet:
  308.     type: 'OS::Neutron::Subnet'
  309.     depends_on: external_net
  310.     properties:
  311.       name:
  312.         get_param: external_subnet_name
  313.       network_id:
  314.         get_resource: external_net
  315.       cidr:
  316.         get_param: external_net_cidr
  317.       gateway_ip:
  318.         get_param: external_net_gateway
  319.       enable_dhcp:
  320.         get_param: external_net_dhcp
  321.   internal_net:
  322.     type: 'OS::Neutron::Net'
  323.     properties:
  324.       name:
  325.         get_param: internal_net_name
  326.       value_specs:
  327.         'router:external': false
  328.       shared: true
  329.   internal_subnet:
  330.     type: 'OS::Neutron::Subnet'
  331.     depends_on: internal_net
  332.     properties:
  333.       name:
  334.         get_param: internal_subnet_name
  335.       network_id:
  336.         get_resource: internal_net
  337.       cidr:
  338.         get_param: internal_net_cidr
  339.       gateway_ip:
  340.         get_param: internal_net_gateway
  341.       enable_dhcp:
  342.         get_param: internal_net_dhcp
  343.   management_net:
  344.     type: 'OS::Neutron::Net'
  345.     properties:
  346.       name:
  347.         get_param: management_net_name
  348.       value_specs:
  349.         'router:external': false
  350.       shared: true
  351.   management_subnet:
  352.     type: 'OS::Neutron::Subnet'
  353.     depends_on: management_net
  354.     properties:
  355.       name:
  356.         get_param: management_subnet_name
  357.       network_id:
  358.         get_resource: management_net
  359.       cidr:
  360.         get_param: management_net_cidr
  361.       gateway_ip:
  362.         get_param: management_net_gateway
  363.       enable_dhcp:
  364.         get_param: management_net_dhcp
  365. heat_template_version: '2013-05-23'
  366. parameter_groups: null
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top