Allow to configure port_security_enabled for network

PROD-36511

Change-Id: I90bb0d06b59656a2b1b80872e03d17f183f84526
diff --git a/README.rst b/README.rst
index eb2e119..75ce582 100644
--- a/README.rst
+++ b/README.rst
@@ -1967,3 +1967,18 @@
 
 You can read more about it here:
     https://docs.openstack.org/security-guide/databases/database-access-control.html
+
+
+Disable port security for network.
+----------------------------------
+
+.. code-block:: yaml
+
+    neutron:
+      client:
+        resources:
+          v2:
+            admin_identity:
+              network:
+                NETWORK_NAME:
+                  port_security_enabled: false
diff --git a/neutron/client/resources/v2.sls b/neutron/client/resources/v2.sls
index 43db50e..b042278 100644
--- a/neutron/client/resources/v2.sls
+++ b/neutron/client/resources/v2.sls
@@ -41,6 +41,9 @@
     {%- if network.is_default is defined %}
     - is_default: {{ network.is_default }}
     {%- endif %}
+    {%- if network.port_security_enabled is defined %}
+    - port_security_enabled: {{ network.port_security_enabled }}
+    {%- endif %}
     - require:
       - wait_for_neutron_agents_v2_{{ identity_name }}