在多个网络中选择特定网络

时间:2022-09-13 23:36:39

I am using Cloudify 2.7 with OpenStack Icehouse.

我在OpenStack Icehouse中使用Cloudify 2.7。

I would like to attach the Cloudify Management VM to two private networks:

我想将Cloudify管理VM附加到两个专用网络:

private-net-1 and private-net-2

private-net-1和private-net-2

The Cloudify Shell, however, is attached only to private-net-1.

但是,Cloudify Shell仅附加到private-net-1。

So, how should I configure che cloud driver so that the bootstrap-cloud process will work?

那么,我应该如何配置che云驱动程序,以便引导程序 - 云进程可以工作?

1 个解决方案

#1


0  

The Cloudify shell just needs access to the Cloud API. It does not matter if it is connected to one network or more. It is not related to how the Cloudify Manager is set up.

Cloudify shell只需要访问Cloud API。它是连接到一个网络还是更多网络并不重要。它与Cloudify Manager的设置方式无关。

The Cloudify compute template configuration allows you to specify static networks that the compute machine will connect to. See example here: http://getcloudify.org/guide/2.7/clouddrivers/network.html

Cloudify计算模板配置允许您指定计算机器将连接到的静态网络。请参阅此处的示例:http://getcloudify.org/guide/2.7/clouddrivers/network.html

Note this section:

请注意本节:

  // Optional. Use existing networks.
    computeNetwork {
      networks (["SOME_INTERNAL_NETWORK"])
    }

So you can specify multiple networks here:

所以你可以在这里指定多个网络:

  // Optional. Use existing networks.
    computeNetwork {
      networks (["SOME_INTERNAL_NETWORK1", "SOME_INTERNAL_NETWORK2"])
    }

#1


0  

The Cloudify shell just needs access to the Cloud API. It does not matter if it is connected to one network or more. It is not related to how the Cloudify Manager is set up.

Cloudify shell只需要访问Cloud API。它是连接到一个网络还是更多网络并不重要。它与Cloudify Manager的设置方式无关。

The Cloudify compute template configuration allows you to specify static networks that the compute machine will connect to. See example here: http://getcloudify.org/guide/2.7/clouddrivers/network.html

Cloudify计算模板配置允许您指定计算机器将连接到的静态网络。请参阅此处的示例:http://getcloudify.org/guide/2.7/clouddrivers/network.html

Note this section:

请注意本节:

  // Optional. Use existing networks.
    computeNetwork {
      networks (["SOME_INTERNAL_NETWORK"])
    }

So you can specify multiple networks here:

所以你可以在这里指定多个网络:

  // Optional. Use existing networks.
    computeNetwork {
      networks (["SOME_INTERNAL_NETWORK1", "SOME_INTERNAL_NETWORK2"])
    }