@validation.required_services(consts.Service.NEUTRON)
    @validation.required_openstack(users=True)
    @scenario.configure(context={"cleanup": ["neutron"]})
    def create_and_update_security_groups(self,
                                          security_group_create_args=None,
                                          security_group_update_args=None):
        security_group_create_args = security_group_create_args or {}
        security_group_update_args = security_group_update_args or {}
        security_group = self._create_security_group(
            **security_group_create_args)
        self._update_security_group(security_group,
                                    **security_group_update_args)
Create and update Neutron security-groups.
dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/neutron/security_groups.py/NeutronSecurityGroup.create_and_update_security_groups