월간 인기 게시물

게시물 718건
   
[HOT Template] instance_floatingip_create
글쓴이 : 최고관리자 날짜 : 2016-06-28 (화) 17:43 조회 : 2226
                                
# cat > instance_floatingip_create.yaml
heat_template_version: 2015-10-15
description: A load-balancer server
parameters:
  image:
    type: string
    description: Image used for servers
    default: ${IMAGE_ID}
  flavor:
    type: string
    description: flavor used by the servers
    default: ${FLAVOR_ID}
  networks:
    type: string
    description: as_private_net
    default: ${Private_NET_ID}
  subnet:
    type: string
    description: private_subnet
    default: ${SUBNET_ID}
  public_net_id:
    type: string
    description: public_net_id
    default: ${Public_ID}

resources:
  server:
    type: OS::Nova::Server
    properties:
      flavor: {get_param: flavor}
      image: {get_param: image}
      networks:
        - port: { get_resource: public_port }

  public_port:
    type: OS::Neutron::Port
    properties:
      network_id: { get_param: networks }
      fixed_ips:
      - subnet_id: { get_param: subnet }

  floating_ip:
    type: OS::Neutron::FloatingIP
    properties:
      floating_network_id: { get_param: public_net_id }
      port_id: { get_resource: public_port }

outputs:
  server_ip:
    description: IP Address of the load-balanced server.
    value: { get_attr: [server, first_address] }
  floating_ip:
    description: assigned public ip
    value: { get_attr: [ floating_ip, floating_ip_address ] }


이름 패스워드
스타일
굴림
10pt
<html> <body>
 
 
 
 
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.