简体   繁体   English

Cloudify 3.3-使用现有网络(无浮动IP)

[英]Cloudify 3.3 - Use of existing network (no Floating IP)

we want to configure a Cloudify Manager into an OpenStack project in which there is only an external network (named public_net), with public IP addresses. 我们想将Cloudify Manager配置到一个OpenStack项目中,在该项目中只有一个具有公共IP地址的外部网络(名为public_net)。 In other words, each Cloudify VM (both Manager and Application) should be attached to the external net (no Floating IP). 换句话说,每个Cloudify VM(管理器和应用程序)都应连接到外部网络(没有浮动IP)。 The Cloudify CLI, on the other hand, was created out of OpenStack. 另一方面,Cloudify CLI是在OpenStack之外创建的。

How should we configure the OpenStack plugin to implement this scenario? 我们应该如何配置OpenStack插件来实现这种情况?

The Cloudify manager if bootstrapped with the Openstack blueprint will be configured to two networks: 如果将Cloudify管理器引导至Openstack蓝图,则会将其配置为两个网络:

  1. The network that it can connect to the OpenStack API (external network) 它可以连接到OpenStack API的网络(外部网络)
  2. A management network that it will create. 它将创建的管理网络。

If you want to use the external network for the management network, you should change the blueprint so it will have this network as an external resource (external_resource: true) and set the name of the network to public_net. 如果要将外部网络用于管理网络,则应更改蓝图,以将其用作外部资源(external_resource:true),并将网络名称设置为public_net。

your blueprint will look like this: 您的蓝图将如下所示:

management_network:
type: cloudify.openstack.nodes.Network
properties:
  use_external_resource: true
  resource_id: public_net
  openstack_config: *openstack_configuration

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM