def list(self, cmd, args, options):

			pop = options['pop']
			exoconfig = options['config']
			ExoException = options['exception']
			ProvisionException = options['provision-exception']
			key = exoconfig.config['vendortoken']

			mlist = pop.serialnumber_list(key, args['<model>'], args['--offset'], args['--limit'])
			lines = mlist.body.splitlines()
			if args['<glob>'] is not None:
				lines = fnmatch.filter(lines, args['<glob>'])
			for line in lines:
				sn, rid, extra = line.split(',')
				if not args['--long']:
					print(sn)
				else:
					status=''
					try:
						mlist = pop.serialnumber_info(key, args['<model>'], sn)
						if mlist.status() == 204:
							status = 'unused'
						else:
							status = mlist.body.split(',')[0]
							if status == '':
								status = 'unused'
					except ProvisionException as pe:
						if pe.response.status() == 404:
							status = 'unused'
						elif pe.response.status() == 409:
							status = 'orphaned'
						else:
							status = pe.response.body.split(',')[0]
							if status == '':
								status = 'unused'
					if rid == '':
						rid = '<>'
					print(",".join([sn,status,rid,extra]))
List individual serial numbers added to a model,
dataset/ETHPy150Open exosite/exoline/exoline/plugins/provision.py/Plugin.sn.list