def get_vcpu_pin_set():
 if (not CONF.vcpu_pin_set):
  return None
 cpuset_ids = parse_cpu_spec(CONF.vcpu_pin_set)
 if (not cpuset_ids):
  raise exception.Invalid((_('No CPUs available after parsing %r') % CONF.vcpu_pin_set))
 return cpuset_ids

def get_vcpu_pin_set ( ) : if ( not CONF . vcpu_pin_set ) : return None cpuset_ids = parse_cpu_spec ( CONF . vcpu_pin_set ) if ( not cpuset_ids ) : raise exception . Invalid ( ( _ ( 'No CPUs available after parsing %r' ) % CONF . vcpu_pin_set ) ) return cpuset_ids
parse vcpu_pin_set config .