bosh如何在vsphere环境中设置vm网络?

时间:2017-05-23 06:49:42

标签: cloudfoundry cf-bosh

我正在学习波什和cloudfoundry,我对vsphere中的vm网络设置很好奇。

bosh如何在vsphere中为vm设置网络(ip,gateway)。我知道波什会在目标虚拟机中触发一个bosh-agent / nats-agent来改变它,但它是如何首先连接到代理的呢?

因为我不熟悉go,ruby,所以无法弄清楚代码。

1 个答案:

答案 0 :(得分:0)

https://bosh.io/docs/vsphere-cpi.html解释了与VSphere的交互以及相关的bosh配置。

  

bosh如何在vsphere中为vm设置网络(ip,gateway)。

您是否希望了解如何配置bosh,或CPI如何与vsphere交互?

上述文档回答了第一部分。至于bosh CPI在封面下如何运作,请使用此处记录的vsphere / SDK APIS,https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/index-methods.html