def netns_file_path(self):
    'Get the host netns file path for a jailer context.\n\n        Returns the path on the host to the file which represents the netns,\n        and which must be passed to the jailer as the value of the --netns\n        parameter, when in use.\n        '
    if self.netns:
        return '/var/run/netns/{}'.format(self.netns)
    return None
Get the host netns file path for a jailer context.

Returns the path on the host to the file which represents the netns,
and which must be passed to the jailer as the value of the --netns
parameter, when in use.
def netns_file_path(self):
    'Get the host netns file path for a jailer context.\n\n        Returns the path on the host to the file which represents the netns,\n        and which must be passed to the jailer as the value of the --netns\n        parameter, when in use.\n        '
    if self.netns:
        return '/var/run/netns/{}'.format(self.netns)
    return None