Differences between revisions 1 and 2
Revision 1 as of 2016-12-05 23:16:04
Size: 1112
Editor: mnovakovic
Comment:
Revision 2 as of 2016-12-05 23:26:20
Size: 1155
Editor: mnovakovic
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Full code of this integration is avaliable here on [[https://github.com/sartura/snabb|GitHub]]. Full code of this integration is avaliable here on [[https://github.com/sartura/snabb/tree/sysrepo|GitHub]].
Line 12: Line 12:
 * 00:00 - 00:12: Connect to server which has hardware support for snabb.
 * 00:12 - 00:27: datastore is updated with needed model and data, sysrepo daemon and netopeer2 server are started on server before the sshd itself.
 * 00:27 - 00:49: Two user try to connect to the server. As it is observable, first is already amon AllowedUsers in sshd configuration so it accomplishes. Other is not so it fails.
 * 00:49 - 00:58: Using testconnf, an edit-config request is sent to the server to add later user.
 * 00:58 - 01:12: Other user now also accomplishes connection.
 * 00:00 - 00:23: Connect to server which has hardware support for snabb.
 * 00:23 - 00:32: Run docker with the sysrepo/Netopeer2 tools with the sysrepo Lua bindings.
 * 00:32 - 00:48: Compile the mounted snabb code.
 * 00:48 - 01:10: Insntall the snabb-softwire-v1 yang model.
 * 01:10 - 01:15: Run sysrepo daemon with Netopeer2.
 * 01:15 - 01:30: Run lwaftr program.
 * 01:30 - 01:49: Run Lua program which connects snabb data plane with sysrepo.
 * 01:49 - 02:31: Get some snabb data.
 * 02:31 - 03:25: Start testconf and get/set data from snabb.
 * 03:25 - 03:35: Show changes in snabb.

openssh configuration via NETCONF using sysrepo & Netopeer 2

As an example of how sysrepo & Netopeer 2 can be used to bridge the snabb data plane to sysrepo.

Full code of this integration is avaliable here on GitHub.

The demo of this integration can be played below:

https://asciinema.org/a/95134

Description of the demo:

  • 00:00 - 00:23: Connect to server which has hardware support for snabb.
  • 00:23 - 00:32: Run docker with the sysrepo/Netopeer2 tools with the sysrepo Lua bindings.
  • 00:32 - 00:48: Compile the mounted snabb code.
  • 00:48 - 01:10: Insntall the snabb-softwire-v1 yang model.
  • 01:10 - 01:15: Run sysrepo daemon with Netopeer2.
  • 01:15 - 01:30: Run lwaftr program.
  • 01:30 - 01:49: Run Lua program which connects snabb data plane with sysrepo.
  • 01:49 - 02:31: Get some snabb data.
  • 02:31 - 03:25: Start testconf and get/set data from snabb.
  • 03:25 - 03:35: Show changes in snabb.

snabb (last edited 2016-12-05 23:26:20 by mnovakovic)