#NEWLINE# def create( self , context = None ) : #NEWLINE# #INDENT# "Create a Port record in the DB.\n\n        :param context: Security context. NOTE: This should only\n                        be used internally by the indirection_api.\n                        Unfortunately, RPC requires context as the first\n                        argument, even though we don't use it.\n                        A context should be set when instantiating the\n                        object, e.g.: Port(context)\n        :raises: MACAlreadyExists if 'address' column is not unique\n        :raises: PortAlreadyExists if 'uuid' column is not unique\n\n        " #NEWLINE# values = self . obj_get_changes ( ) #NEWLINE# db_port = self . dbapi . create_port ( values ) #NEWLINE# self . _from_db_object ( self , db_port )