Explicitly check for None to accept 0 as a valid value.

Change-Id: I672c6b05ee6346251628d49998faf7bd87d203e7
Closes-Bug: 1369812
Accept Enet route without IP address from agent

Agent can now advertise a MAC without IP for L2-only VNs.
Or it can set the IP to 0.0.0.0/32.
Control Node advertises with IP as 0.0.0.0/32.
Control Node builds XMPP id using 0.0.0.0/32.

Change-Id: I3e52337e1722da679023fef5fafd2f816cb33509
Partial-Bug: #1366409
Add a user_visible property to resources

This patch add a user_visible to resources
in order to hide some technical resources
from the user point of view. For example
for the SNAT we can to hide technical
resources like a network and a port.

Resources with the property user_visible
set to false will be not count in quotas.

Change-Id: I77326dca9ec9de1f8b2824c2daa31b03a181812b
Delete stale routing instance and acl objects when schema transformer starts. This could happen if any virtual networks were deleted while schema transformer was down.

Change-Id: Ie29434adfb031500d5174ff0984a87ece7d59f0d
Closes-Bug: 1336637
1. Provide default implementation of HandleReceive() for UdpServer
   that enqueues a Reader task to perform the receive similar to
   TcpSession. The task policy of the Reader task can be
   overridden by the derived class. Add a virtual OnRead()
   function that needs to be implemented by the derived class
   using the default implementation of HandleReceive().
2. Rename TcpServerSocketStats to SocketIOStats, move
   SocketStats from within TcpServer to io_utils.h and share
   between TcpServer and UdpServer.
3. Change ProtobufServer to use changes done above in UdpServer.
4. Add test case to UdpServer and stabilize existing test cases
   in udp_io_test

Change-Id: Ic9a2af9ded1ab7670cf5d1124a48083300db440b
Close TCP socket if connection is accepted after server shutdown

Change-Id: I38570ba59a98acea7cbc6167bdc49181fa33c26c
Merge "Add a user_visible property to resources"
Merge "Explicitly check for None to accept 0 as a valid value."
Merge "Delete stale routing instance and acl objects when schema transformer starts. This could happen if any virtual networks were deleted while schema transformer was down."
Merge "Close TCP socket if connection is accepted after server shutdown"
Initial support for FreeBSD platform:
 - changes required for MacAddress class to become abstraction layer
   above ether_adddr structure.

Change-Id: I25e366bfd6177512e981d0c9229a4c72af9e44c2
Authors: Grzegorz Bernacki, Michał Dubiel, Dominik Ermel
Don't attempt to send statistics for FIP if it is not activated yet.

Change-Id: I7a11e330106406af8ac68e7488e34615ec1cabfa
If VN IPAM has a gateway of 0.0.0.0 or from link local range (169.254.0.0/16) then mark VN's
forwarding mode to be L2 only.

https://bugs.launchpad.net/juniperopenstack/+bug/1370328

Change-Id: I056eb2105c37c6f2057401e2d428a4ceec7cede3
Merge "Don't attempt to send statistics for FIP if it is not activated yet."
Merge "Initial support for FreeBSD platform:  - changes required for MacAddress class to become abstraction layer    above ether_adddr structure."
Support for creation of v6 subnet and allocation of v6 ip address.
Addition ipv6 family in schema for InterfaceRouteTable
Update static route provisioning script for v6 family.
Addressed review comment to use __contrail_exception

Change-Id: Ibc0d67f2e6136c786a2b79455eef1ec61d788fe7
Merge "Support for creation of v6 subnet and allocation of v6 ip address. Addition ipv6 family in schema for InterfaceRouteTable Update static route provisioning script for v6 family. Addressed review comment to use __contrail_exception"
Merge "1. Provide default implementation of HandleReceive() for UdpServer    that enqueues a Reader task to perform the receive similar to    TcpSession. The task policy of the Reader task can be    overridden by the derived class. Add a virtual OnRead()    function that needs to be implemented by the derived class    using the default implementation of HandleReceive(). 2. Rename TcpServerSocketStats to SocketIOStats, move    SocketStats from within TcpServer to io_utils.h and share    between TcpServer and UdpServer. 3. Change ProtobufServer to use changes done above in UdpServer. 4. Add test case to UdpServer and stabilize existing test cases    in udp_io_test"
Controller ipv6 support

Changes in src/net, src/bgp, src/control-node, src/schema, src/base
* bgp-peering
* xmpp-peer support
* ipv6/ipv6-vpn table/route support
* mobility for ipv6
* other infra to make it work
* unit-tests for the code including tests indicated by code-coverage

Change-Id: I5727af61cc7b6eee657c710c78198082b2db2f0f
To find router-id, get the routers from external network, then find the correct router that matches the internal network for the floating ip. This avoids walking all ports.

Change-Id: If2fa246a6ba9eff8fbbb5262cd963fd2cca1e686
Closes-Bug: 1371368