* Add filesystem-based endpoint source that uses an inotify watch to
  look for endpoint metadata.
* Make main() thread pause until interrupted to allow agent to work
* Add support for --daemon command line option to daemonize the agent
* Add configuration file generation and installation

Change-Id: I77105aa7bcd5e2e9409c6242e6f8e325e77fcf7d
Signed-off-by: Rob Adams <readams@readams.net>
include necessary 3rdparty files in dist tarball

Change-Id: Ifb1833fd6eb55cde9d698d8d6cdf5ac777ae4a11
Signed-off-by: Alessandro Salvatori <sandr8@gmail.com>
Make a MAC address type for use with managed objects that can handle
parsing and serialization/deserialization so we can avoid any future
byte order issues associated with integer values in the URI.

Change-Id: I6b33ba4aa9645a733b51acdb7d81b3fffb8ed40a
Signed-off-by: Rob Adams <readams@readams.net>
Merge "* Add filesystem-based endpoint source that uses an inotify watch to   look for endpoint metadata. * Make main() thread pause until interrupted to allow agent to work * Add support for --daemon command line option to daemonize the agent * Add configuration file generation and installation"
Define connection class for talking to OVS switch

Change-Id: I615da78bbe50356e6fc956d26c46f938b1165546
Signed-off-by: Amit Bose <bose@noironetworks.com>
Merge "Make a MAC address type for use with managed objects that can handle parsing and serialization/deserialization so we can avoid any future byte order issues associated with integer values in the URI."
Remove unsigned long to MAC constructor.  Too much trouble to deal
with weird compiler issue on integration system.

Change-Id: Ifaaabbcd30de2d4cefb005f7ef3fb60bb315efb3
Signed-off-by: Rob Adams <readams@readams.net>
Define variable to hold OVS header location.
Will make transition to properly installed OVS headers easier.

Change-Id: Id0e4bdc96b9ece5760b9a59a3b56974a584be3d6
Signed-off-by: Amit Bose <bose@noironetworks.com>
Add enum information to model metadata

Change-Id: I53cc6e2420c5b377013c1142a3729d7d50942c40
Signed-off-by: Tom Flynn <tom.flynn@gmail.com>
Merge "Define variable to hold OVS header location. Will make transition to properly installed OVS headers easier."
Merge "Add enum information to model metadata"
fix distcheck

Change-Id: Ib8ce274ee7169c966c5a077f0b16c10138f22e3e
Signed-off-by: Alessandro Salvatori <sandr8@gmail.com>
only use atomic counters when they are provided by boost

Change-Id: Ib9c76c9cfa3eab6718b9ce135c2b25fa2b813618
Signed-off-by: Alessandro Salvatori <sandr8@gmail.com>
added enum gen into meta

Change-Id: I55f14b2530061e5bc8f0de517e163776d56eff2f
Signed-off-by: dvorkinista <dvorkin@noironetworks.com>
Add send/receive ability to connection class

SwitchConnection now allows sending openflow messages
and registering handlers for received messages. Also
monitors the connection and tries automatic
reconnection.

Change-Id: I91ccfdc9267a39b65eaedd4de5df733c34d918d2
Signed-off-by: Amit Bose <bose@noironetworks.com>
Add PortMapper to map port-names to port-numbers

PortMapper gets current list of ports when connection
is established and keeps it updated based on port-state
notifications.

Other changes:
* Minor change to message-handler interface
* Fix a race in SendMessage. ofConn could get
destroyed between the IsConnected() check and use
ofConn in vconn_send(), leading to bad memory access. Fix is to
check and use in the same lock scope.

Change-Id: I2aa5cb907cb800931dacba20a951f6a504749855
Signed-off-by: Amit Bose <bose@noironetworks.com>