Skip to content

Instantly share code, notes, and snippets.

@anfernee
Created July 26, 2013 23:34
Show Gist options
  • Select an option

  • Save anfernee/6092941 to your computer and use it in GitHub Desktop.

Select an option

Save anfernee/6092941 to your computer and use it in GitHub Desktop.
OneFsClient client = new DefaultOneFsClient("http://localhost:8080", "user", "pass", null);
OneFsNfsExport nfsExport = new OneFsNfsExport();
nfsExport.setId("1");
nfsExport.setBlockSize(1234L);
nfsExport.setSymblinks(true);
nfsExport.setUnresolvedClients(new ArrayList<String>());
client.create(nfsExport);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment