当我尝试将 XML 发布到 vcloud director api 以添加隔离网络时,我从 api 收到以下错误。
请求 XML
<?xml version="1.0" encoding="UTF-8"?>
<OrgVdcNetwork name="Isolated" xmlns="http://www.vmware.com/vcloud/v1.5">
<Description>Isolated Organization VDC Network</Description>
<Configuration>
<IpScopes>
<IpScope>
<IsInherited>true</IsInherited>
<Gateway>192.168.1.1</Gateway>
<Netmask>255.255.255.0</Netmask>
</IpScope>
</IpScopes>
<FenceMode>isolated</FenceMode>
回复
Gateway address and subnet mask have to be provided when creating routed/isolated org VDC network.
对此的任何帮助都将受到高度赞赏。