From d46dca5eb0f19505419f8f871d27127a5d03a969 Mon Sep 17 00:00:00 2001 From: Flavio Fernandes Date: Thu, 4 Sep 2014 13:11:21 -0400 Subject: [PATCH] OVSDB L3 support: Allow for override of default gateway mac address With this change we are introducing a new system config that will be used by ovsdb's l3 implementation: ovsdb.l3gateway.mac Its good to note here that until bug 1705 is fixed, this config will be needed so that initial implementation is able to route packets to subnets outside the neutron l3 subnets. Change-Id: Iaca1be3651aeff92b789b451df12e77ba842508e Signed-off-by: Flavio Fernandes --- .../src/main/resources/etc/custom.properties | 5 +++++ .../opendaylight/src/main/resources/configuration/config.ini | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/etc/custom.properties b/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/etc/custom.properties index c2ac77a5d6..a644bf6ee8 100644 --- a/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/etc/custom.properties +++ b/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/etc/custom.properties @@ -92,6 +92,11 @@ ovsdb.listenPort=6640 # default Openflow version = 1.0, we also support 1.3. # ovsdb.of.version=1.3 +# ovsdb can be configured with ml2 to perform l3 forwarding. When used in that scenario, the mac address of the default +# gateway --on the external subnet-- is expected to be resolved from its inet address. The config below overrides that +# specific arp/neighDiscovery lookup. +# ovsdb.l3gateway.mac=00:00:5E:00:02:01 + # TLS configuration # To enable TLS, set secureChannelEnabled=true and specify the location of controller Java KeyStore and TrustStore files. # The Java KeyStore contains controller's private key and certificate. The Java TrustStore contains the trusted certificate diff --git a/opendaylight/distribution/opendaylight/src/main/resources/configuration/config.ini b/opendaylight/distribution/opendaylight/src/main/resources/configuration/config.ini index b2fc3cb386..530e46e14a 100644 --- a/opendaylight/distribution/opendaylight/src/main/resources/configuration/config.ini +++ b/opendaylight/distribution/opendaylight/src/main/resources/configuration/config.ini @@ -116,6 +116,11 @@ ovsdb.listenPort=6640 # default Openflow version = 1.3, we also support 1.0. ovsdb.of.version=1.3 +# ovsdb can be configured with ml2 to perform l3 forwarding. When used in that scenario, the mac address of the default +# gateway --on the external subnet-- is expected to be resolved from its inet address. The config below overrides that +# specific arp/neighDiscovery lookup. +# ovsdb.l3gateway.mac=00:00:5E:00:02:01 + # TLS configuration # To enable TLS, set secureChannelEnabled=true and specify the location of controller Java KeyStore and TrustStore files. # The Java KeyStore contains controller's private key and certificate. The Java TrustStore contains the trusted certificate -- 2.36.6