5.6.5.2. vlcp.service.sdn.arpresponder

Note

This document is generated from the source file.

View Source on GitHub

Created on 2016/7/4

author:hubo
class vlcp.service.sdn.arpresponder.ARPResponder(server)

Send ARP respond

__init__(server)

Constructor

createproxyarp(connection, arpentries)

Create ARP respond flow for specified ARP entries, each is a tuple (ip_address, mac_address, logical_network_id, local). When local is True, only respond to ARP request from logical port; when local is False, only respond to ARP request from physical port; respond to both else.

removeproxyarp(connection, arpentries)

Remove specified ARP entries.

class vlcp.service.sdn.arpresponder.ARPUpdater(connection, parent)
__init__(connection, parent)

Create the routine container.

Parameters:
  • scheduler – The scheduler. This must be set; if None is used, it must be set with container.bind(scheduler) before using.
  • daemon – If daemon = True, the main routine container.main is set to be a daemon routine. A daemon routine does not stop the scheduler from quitting; if all non-daemon routines are quit, the scheduler stops.
main()

The main routine method, should be rewritten to a generator method