#NEWLINE# def __init__( self , whitelist_spec = None ) : #NEWLINE# #INDENT# 'White list constructor\n\n        For example, followed json string specifies that devices whose\n        vendor_id is \'8086\' and product_id is \'1520\' can be assigned\n        to guest.\n        \'[{"product_id":"1520", "vendor_id":"8086"}]\'\n\n        :param whitelist_spec: A json string for a list of dictionaries,\n                               each dictionary specifies the pci device\n                               properties requirement.\n        ' #NEWLINE# super ( Whitelist , self ) . __init__ ( ) #NEWLINE# if self : #NEWLINE# #INDENT# self . specs = self . _parse_white_list_from_config ( whitelist_spec ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . specs = [ ]