~ubuntu-branches/ubuntu/trusty/heat/trusty

« back to all changes in this revision

Viewing changes to heat/tests/templates/Quantum.yaml

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short
  • Date: 2013-08-08 01:08:42 UTC
  • Revision ID: package-import@ubuntu.com-20130808010842-77cni2v4vlib7rus
Tags: 2013.2~b2-0ubuntu4
[ Chuck Short ]
* debian/rules: Enable testsuite during builds.
* debian/patches/fix-sqlalchemy-0.8.patch: Build against sqlalchemy 0.8.
* debian/patches/rename-quantumclient.patch: quantumclient -> neutronclient.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
HeatTemplateFormatVersion: '2012-12-12'
2
 
Description: Template to test Quantum resources
3
 
Resources:
4
 
  network:
5
 
    Type: OS::Quantum::Net
6
 
    Properties: {name: the_network}
7
 
  unnamed_network:
8
 
    Type: 'OS::Quantum::Net'
9
 
  admin_down_network:
10
 
    Type: OS::Quantum::Net
11
 
    Properties: {admin_state_up: false}
12
 
  subnet:
13
 
    Type: OS::Quantum::Subnet
14
 
    Properties:
15
 
      network_id: {Ref: network}
16
 
      ip_version: 4
17
 
      cidr: 10.0.3.0/24
18
 
      allocation_pools:
19
 
      - {end: 10.0.3.150, start: 10.0.3.20}
20
 
  port:
21
 
    Type: OS::Quantum::Port
22
 
    Properties:
23
 
      device_id: d6b4d3a5-c700-476f-b609-1493dd9dadc0
24
 
      name: port1
25
 
      network_id: {Ref: network}
26
 
      fixed_ips:
27
 
      - subnet_id: {Ref: subnet}
28
 
        ip_address: 10.0.3.21
29
 
  router:
30
 
    Type: 'OS::Quantum::Router'
31
 
  router_interface:
32
 
    Type: OS::Quantum::RouterInterface
33
 
    Properties:
34
 
      router_id: {Ref: router}
35
 
      subnet_id: {Ref: subnet}
36
 
Outputs:
37
 
  the_network_status:
38
 
    Value:
39
 
      Fn::GetAtt: [network, status]
40
 
    Description: Status of network
41
 
  port_device_owner:
42
 
    Value:
43
 
      Fn::GetAtt: [port, device_owner]
44
 
    Description: Device owner of the port
45
 
  port_fixed_ips:
46
 
    Value:
47
 
      Fn::GetAtt: [port, fixed_ips]
48
 
    Description: Fixed IPs of the port
49
 
  port_mac_address:
50
 
    Value:
51
 
      Fn::GetAtt: [port, mac_address]
52
 
    Description: MAC address of the port
53
 
  port_status:
54
 
    Value:
55
 
      Fn::GetAtt: [port, status]
56
 
    Description: Status of the port
57
 
  port_show:
58
 
    Value:
59
 
      Fn::GetAtt: [port, show]
60
 
    Description: All attributes for port
61
 
  subnet_show:
62
 
    Value:
63
 
      Fn::GetAtt: [subnet, show]
64
 
    Description: All attributes for subnet
65
 
  network_show:
66
 
    Value:
67
 
      Fn::GetAtt: [network, show]
68
 
    Description: All attributes for network
69
 
  router_show:
70
 
    Value:
71
 
      Fn::GetAtt: [router, show]
72
 
    Description: All attributes for router