CloudStack-extras / knife-cloudstack

Apache License 2.0
65 stars 50 forks source link

Networks with spaces in the name cannot be specified #83

Open benlangfeld opened 10 years ago

benlangfeld commented 10 years ago

Since networks are stored in stack definitions as a space/comma separated string, it's not possible to specify a network with a space in the name because this will be split into multiple entries. This data is coming from JSON, so why not use a JSON Array?

sbotman commented 10 years ago

Well, I personally don't use the stack option that often. But this seems like a good idea to me! If you have time to change this, then please do. Otherwise I will look into this when time permits. In the meantime you might want to specify the network id's. These don't contain any spaces and should also work just fine.

benlangfeld commented 10 years ago

I'll prep a PR in the near future which removes all string manipulation from JSON. For now I'll use the ID. Thanks :)