Skip to content

Instantly share code, notes, and snippets.

View mentels's full-sized avatar

Szymon Mentel mentels

  • Kraków, Poland
View GitHub Profile
[{linc,
[{of_config,enabled},
{capable_switch_ports,
[{port,1,[{interface,"tap0"}]},{port,2,[{interface,"tap1"}]}]},
{capable_switch_queues, [
{queue, 1, [{min_rate, 0}, {max_rate, 100}]},
{queue, 2, [{min_rate, 0}, {max_rate, 200}]}
]},
{logical_switches,
[{switch,0,
[
{of_driver,[ {listen_ip, {0,0,0,0}},
{listen_port, 6653},
{listen_opts,[binary, {packet, raw}, {active, false}, {reuseaddr, true}]},
{of_compatible_versions, [4,5]},
{callback_module, ofs_handler_driver},
{enable_ping, false},
{ping_timeout,1000},
{ping_idle,5000},
{multipart_timeout,30000} %% IMPLEMENT

Keybase proof

I hereby claim:

  • I am mentels on github.
  • I am mentels (https://keybase.io/mentels) on keybase.
  • I have a public key whose fingerprint is 6239 4881 7CFB F67C D4D1 BB2F D063 2019 18A1 9883

To claim this, I am signing this object:

@mentels
mentels / gl_change.md
Created January 25, 2016 08:52
Changing Group Leader of a process on another Erlang node

Prerequisites

There're 2 Erlang nodes 'a@szm-mac' and 'b@szm-mac' connected to each other.

The shell process in registered as 'shell' on the 'b@szm-mac' node:

register(shell, self()).