def construct_param_list(self):
    'Create the list of parameters we want the jailer to start with.\n\n        We want to be able to vary any parameter even the required ones as we\n        might want to add integration tests that validate the enforcement of\n        mandatory arguments.\n        '
    jailer_param_list = []
    if (self.jailer_id is not None):
        jailer_param_list.extend(['--id', str(self.jailer_id)])
    if (self.exec_file is not None):
        jailer_param_list.extend(['--exec-file', str(self.exec_file)])
    if (self.numa_node is not None):
        jailer_param_list.extend(['--node', str(self.numa_node)])
    if (self.uid is not None):
        jailer_param_list.extend(['--uid', str(self.uid)])
    if (self.gid is not None):
        jailer_param_list.extend(['--gid', str(self.gid)])
    if (self.chroot_base is not None):
        jailer_param_list.extend(['--chroot-base-dir', str(self.chroot_base)])
    if (self.netns is not None):
        jailer_param_list.extend(['--netns', str(self.netns_file_path())])
    if self.daemonize:
        jailer_param_list.append('--daemonize')
    if (self.seccomp_level is not None):
        jailer_param_list.extend(['--seccomp-level', str(self.seccomp_level)])
    return jailer_param_list
Create the list of parameters we want the jailer to start with.

We want to be able to vary any parameter even the required ones as we
might want to add integration tests that validate the enforcement of
mandatory arguments.
def construct_param_list(self):
    'Create the list of parameters we want the jailer to start with.\n\n        We want to be able to vary any parameter even the required ones as we\n        might want to add integration tests that validate the enforcement of\n        mandatory arguments.\n        '
    jailer_param_list = []
    if (self.jailer_id is not None):
        jailer_param_list.extend(['--id', str(self.jailer_id)])
    if (self.exec_file is not None):
        jailer_param_list.extend(['--exec-file', str(self.exec_file)])
    if (self.numa_node is not None):
        jailer_param_list.extend(['--node', str(self.numa_node)])
    if (self.uid is not None):
        jailer_param_list.extend(['--uid', str(self.uid)])
    if (self.gid is not None):
        jailer_param_list.extend(['--gid', str(self.gid)])
    if (self.chroot_base is not None):
        jailer_param_list.extend(['--chroot-base-dir', str(self.chroot_base)])
    if (self.netns is not None):
        jailer_param_list.extend(['--netns', str(self.netns_file_path())])
    if self.daemonize:
        jailer_param_list.append('--daemonize')
    if (self.seccomp_level is not None):
        jailer_param_list.extend(['--seccomp-level', str(self.seccomp_level)])
    return jailer_param_list