ContainX / openstack4j

A Fluent OpenStack SDK / Client Library for Java
http://openstack4j.com
Other
288 stars 369 forks source link

Disabling Neutron Port Security #768

Open jburgess opened 7 years ago

jburgess commented 7 years ago

I would like to create a port with port security disabled. When creating a port via command line I would create the port using:

 neutron port-create –-name <Port Name> –-port-security-enabled=false

Is it possible to perform the same with openstack4j?

vinodborole commented 7 years ago

@gurumeditator no i don't think this property is there

https://github.com/ContainX/openstack4j/blob/b5ef298b6ffb89204518fd2936711e3919694ea3/core/src/main/java/org/openstack4j/model/network/builder/PortBuilder.java

vinodborole commented 7 years ago

@gondor @auhlig please review this fix

auhlig commented 7 years ago

Apologies. I missed this one. Added a comment. Besides that looks good @vinodborole.

auhlig commented 7 years ago

PR merged. Please close this issue, if you it's fixed @gurumeditator.