File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/neutron_secgroup.cpython-310.pyc
Back
o ;j� � @ s( d Z dZdd� Zd dd�Zd dd�ZdS ) a� Management of OpenStack Neutron Security Groups =============================================== .. versionadded:: 2018.3.0 :depends: shade :configuration: see :py:mod:`salt.modules.neutronng` for setup instructions Example States .. code-block:: yaml create security group; neutron_secgroup.present: - name: security_group1 - description: "Very Secure Security Group" delete security group: neutron_secgroup.absent: - name_or_id: security_group1 - project_name: Project1 create security group with optional params: neutron_secgroup.present: - name: security_group1 - description: "Very Secure Security Group" - project_id: 1dcac318a83b4610b7a7f7ba01465548 create security group with optional params: neutron_secgroup.present: - name: security_group1 - description: "Very Secure Security Group" - project_name: Project1 Zneutron_secgroupc C s dt v rtS dS )Nzneutronng.list_subnets)FzSThe neutronng execution module failed to load: shade python module is not available)�__salt__�__virtualname__� r r �P/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/neutron_secgroup.py�__virtual__( s r Nc K sP | i ddd�}t d di |��}td |� d|v r#|d |d<