vmware-archive / vcd-cli

Command Line Interface for VMware vCloud Director
https://vmware.github.io/vcd-cli
Other
165 stars 106 forks source link

vcd vapp network connect-ovdc #503

Closed matt-horwood-mayden closed 2 years ago

matt-horwood-mayden commented 4 years ago

Afternoon,

I have tried to add a network to a vapp, but get an error message

vcd vapp network connect-ovdc vapp_name vapp_network_name vdc_network_name
Usage: vcd vapp network connect-ovdc [OPTIONS] <vapp-name> <vapp-network-name>
                                     <ovdc-network-name>
Try "vcd vapp network connect-ovdc -h" for help.

Error: ('https://api.cloud_provider.com/api/vApp/vapp-e2ac0613-9764-4bf9-affe-7ea0c1a93e7f', <RelationType.DOWN: 'down'>, 'application/vnd.vmware.vcloud.vAppNetwork+xml'); href: https://api.cloud_provider.com/api/vApp/vapp-e2ac0613-9764-4bf9-affe-7ea0c1a93e7f, rel: RelationType.DOWN, mediaType: application/vnd.vmware.vcloud.vAppNetwork+xml
pip freeze
ansible==2.8.3
ansible-lint==4.1.0
anyconfig==0.9.7
arrow==0.15.2
aspy.yaml==1.3.0
atomicwrites==1.3.0
attrs==19.3.0
bcrypt==3.1.7
binaryornot==0.4.4
cached-property==1.5.1
Cerberus==1.3.1
certifi==2019.9.11
cffi==1.13.1
cfgv==2.0.1
chardet==3.0.4
Click==7.0
click-completion==0.5.2
colorama==0.4.1
cookiecutter==1.6.0
cryptography==2.8
docker==3.7.3
docker-compose==1.24.1
docker-pycreds==0.4.0
dockerpty==0.4.1
docopt==0.6.2
entrypoints==0.3
fasteners==0.15
flake8==3.7.8
future==0.18.1
git-url-parse==1.2.2
gitdb2==2.0.6
GitPython==3.0.4
heatwave==1.1.1
humanfriendly==4.18
identify==1.4.7
idna==2.8
importlib-metadata==0.23
Jinja2==2.10.3
jinja2-time==0.2.0
jsonschema==2.6.0
keyring==12.0.0
lxml==4.4.1
MarkupSafe==1.1.1
mccabe==0.6.1
molecule==2.22
monotonic==1.5
MonthDelta==0.9.1
more-itertools==7.2.0
nodeenv==1.3.3
packaging==19.2
paramiko==2.6.0
pathspec==0.6.0
pbr==5.4.3
pexpect==4.7.0
pluggy==0.13.0
poyo==0.5.0
pre-commit==1.18.3
psutil==5.6.3
ptyprocess==0.6.0
py==1.8.0
pycodestyle==2.5.0
pycparser==2.19
pycryptodome==3.4.11
pyflakes==2.1.1
Pygments==2.4.2
PyMySQL==0.9.3
PyNaCl==1.3.0
pyparsing==2.4.2
pytest==5.2.2
python-dateutil==2.8.0
python-gilt==1.2.1
python-vagrant==0.5.15
pyvcloud==21.0.1.dev3
PyYAML==5.1.2
requests==2.22.0
ruamel.yaml==0.16.5
ruamel.yaml.clib==0.2.0
sh==1.12.14
shellingham==1.3.1
six==1.12.0
smmap2==2.0.5
tabulate==0.8.5
testinfra==3.2.0
texttable==0.9.1
toml==0.10.0
tree-format==0.1.2
unittest-xml-reporting==2.5.1
urllib3==1.25.6
vcd-cli==22.0.0
virtualenv==16.7.7
wcwidth==0.1.7
websocket-client==0.56.0
whichcraft==0.6.1
yamllint==1.18.0
zipp==0.6.0
matt-horwood-mayden commented 4 years ago

Just an update to this, the BIG issue here is that I cant see all the networks in out VDC!

If I run vcd network isolated list I only get 28 of the 33

matt-horwood-mayden commented 2 years ago

stale