def create_security_group(self, name, desc=None):
        '''
        Creates a new security group
        '''
        body = {'security_group': {'name': name,
                                   'description': desc}}
        return self.network_conn.create_security_group(body=body)
def create_security_group ( self , name , desc = None ) : body = { 'security_group' : { 'name' : name , 'description' : desc } } return self . network_conn . create_security_group ( body = body )
Creates a new security group