def create_security_group_rule(
            self, sec_grp, remote_grp_id=None, direction='ingress',
            protocol=None, port_range_min=None, port_range_max=None,
            ether=None):
        '''
        Creates a new security group rule
        '''
        sec_grp_id = self._find_security_group_id(sec_grp)
        body = {'security_group_id': sec_grp_id,
                'remote_group_id': remote_grp_id,
                'direction': direction, 'protocol': protocol,
                'port_range_min': port_range_min,
                'port_range_max': port_range_max,
                'ethertype': ether}
        return self.network_conn.create_security_group_rule(
            body={'security_group_rule': body})
Creates a new security group rule