#NEWLINE# @ staticmethod #NEWLINE# def _generate_nova_cpu_pinning( serialized_node , cpus ) : #NEWLINE# #INDENT# if ( not cpus ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# serialized_node . setdefault ( 'nova' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) [ 'cpu_pinning' ] = cpus