server = nova.servers.create( "astlatl-user01", flavor=fl, image=image, nics=nics, key_name=keypair.name, security_groups=sgs )
Given a security group "SG-apache-web", I have tried providing this using a variety of methods:
- sgs = "SG-apache-web"
- sgs = ["SG-apache-web"]
- sg = nova.security_groups.find(name="SG-apache_web")
- sgs = [sg.name]
- sgs = [sg.id]
- sgs = [sg]
- sgs = sg
- sgs = [{u'name': u'SG-apache_web'}]
So far nothing I have found a variety of ways to make this fail, but nothing that actually works. The documentation that I have found doesn't seem to provide any examples