2979 Commits

Author SHA1 Message Date
Andrea Campanella
67b756023b T3: Bugfix on same leaf Multicast
Change-Id: Id89a3a85b057635fa689573d7c64aa91a23ac383
(cherry picked from commit f5ed7a667f985b919eaf1b2fbb551ab4324694cc)
2018-04-11 09:39:53 +00:00
Jian Li
b43b0676c4 Allow to specify endpoint perspective property through SONA CLI
Change-Id: Iaf6c1f9bc8e7f8d1064dd7dc17d50d3bcbf34dfe
2018-04-10 23:20:42 +00:00
Jian Li
1a9e71c8a3 Ignore SSL varification when authenticate with keystone service
Change-Id: Id4ce2513c59ee2d4ddd2905aa94fa9b57ce88e26
2018-04-10 22:32:36 +00:00
daniel park
c2a2ed64f3 Add trace for OpenstackRoutingFloatingIpHandler
Change-Id: I176c22889065082301e398b7bf4f858be57e6d28
2018-04-10 22:29:29 +00:00
Yuta HIGUCHI
d0f8d89ec7 Behaviour for Transceiver
- basically ONOS-7445, ONOS-7446 returning XML as intermediate representation.

Change-Id: I3380e089cc2d8a408c280df18f5fa7c75feb02f9
2018-04-10 22:29:04 +00:00
Jordan Halterman
6328db7500 Ensure host events are handled outside the event loop to avoid interrupts
Change-Id: I545de9a877ca9d6d10264c4af5c199ceb69c9f3b
2018-04-10 19:06:34 +00:00
Yuta HIGUCHI
df54c302e0 Fixing IMR & Ciena bugs
Change-Id: Ic38ac22e0789140bc743f04f0b61fcf4c0c2808a
2018-04-09 14:22:51 -07:00
Jordan Halterman
ca7660a289 Add rolling upgrade test.
Change-Id: Id1b09361aa69f1665f19c312933798b5206d46ac
2018-04-09 17:30:12 +00:00
Davide Sanvito
05983ba654 IntentMonitorAndReroute initial contribution
Change-Id: I88616235b1e8ae28894da75b3fc8d46cb209dac5
2018-04-09 17:23:35 +00:00
Carmelo Cascone
8a571af574 Support for bitwise AND/OR/XOR in ImmutableByteSequence
Also, minor refactoring of the fit() method to improve code readability

Change-Id: I826650c3fc45573c723d9d2dd8692da174d9ae08
2018-04-09 16:56:49 +00:00
Charles Chan
4e49df8c7d Remove event handling delay
Change-Id: I890ac8643c6b331f6d1f660ef634801c305be55a
2018-04-08 01:03:14 +00:00
Saurav Das
2f2c9d035a Enhancing GroupChecker for faster processing of group updates
Change-Id: I9344ccf0ffbc9cff206318a627f5d97df1091677
2018-04-08 01:00:15 +00:00
Saurav Das
5a35604349 Fixes for CORD-2910, 2920, 2915
- When dealing with possible fake links which tend to be unidirectional, do not
   update internal stores until bidirectionality is verified
 - When figuring out ECMPspg, do not use LinkService to figure out bidi egress
   links. Instead use linkHandlers seen-links
 - Prevent NPE in updatedEcmpSpg
 - Improve logic for bringing up downed dual-home host ports: any active uplink,
   not just the first one should re-enable ports

Change-Id: I4412578e72a6d441cacfa2e023870ceb7c7eab04
2018-04-07 12:58:59 -07:00
Charles Chan
bac954f960 CORD-2916 Reset RA handler when mastership changes
Change-Id: Ib103757a078a673657a7a5d6c3299962a1d423c7
2018-04-07 00:53:53 -07:00
Charles Chan
9b7217c560 Handle host, route and mcast events in separate executors
Change-Id: Ic9c4964533354e965691e6db5fa323df91cb4124
2018-04-07 00:05:03 +00:00
Andrea Campanella
fa3ec19828 T3: Adding a test all multicast routes command
Change-Id: I8fe144cc8f5c4c592f2ac78bdc9d0417c0ab842d
(cherry picked from commit d3130e8efa30c8d5ff3d1baa890e94ba3fab04d9)
2018-04-06 23:24:54 +00:00
Charles Chan
2ff1bac305 Routing/bridging rules on the same leaf pair should always be programmed by the same ONOS instance
Main change:
- Implement new logic for shouldHandleRouting, along with corresponding unit tests. Also rename it to shouldProgram

Side changes:
- Refactor revokeSubnet such that it is only invoked on the instance that should handle routing change
- Move the following methods to RoutingRulePopulator and follow the same design pattern as populate/revoke subnet/route
    - populateBridging, revokeBridging, updateBridging
    - updateFwdObj
- Make sure the following methods in RoutingRulePopulator are always invoked by DefaultRoutingHandler with shouldProgram check
    - populateRoute, revokeRoute
    - populateSubnet, revokeSubnet
    - populateBridging, revokeBridging, updateBridging
    - updateFwdObj

Change-Id: I903129271ede91c45ebf0d973e06faeae46c157a
2018-04-06 23:24:36 +00:00
Ray Milkey
b789b8cf56 Fixes for maven build
- onos-apps is the base path for artifacts, not onos-app
- JSON syntax error in swagger file

Change-Id: I77bedd5b4ca4bf32be503f514c72e779c8d3b770
2018-04-06 17:18:46 +00:00
Thomas Vachuska
0d93386e28 Adding topology auto-layout.
Change-Id: I2b9e0b5808b8d193e8d08b7fe6ffdb007b083809
2018-04-06 15:36:12 +00:00
Jian Li
dea0fdb495 Refactor with adding unit test for OpenstackNetworkingUtil
Change-Id: Ie116b9215fb53ecc6a06d75da6d29ef2f2cb1d6a
2018-04-06 08:11:35 +00:00
Jian Li
26949767e6 Refactor: move RulePopulatorUtil into util package, w/ minor fixes
Change-Id: I359040c0e81bfcc0acc32a2299782f442f56a1d3
2018-04-06 08:11:28 +00:00
Jian Li
8e7e6cdd8e Add unit test for OpenstackSwitchingArpHandler
Change-Id: Iac71b644762bcc3f3a1664d563024ef868f81bf6
2018-04-06 08:05:09 +00:00
Jian Li
3e70d8a4a7 Add unit test for OpenstackSwitchingDhcpHandler
Change-Id: I6ee10379a582698d13d5f9c58660302322715d1e
2018-04-06 15:41:14 +09:00
Andreas Pantelopoulos
0616c56fa9 Use SRLinkWeigher in path computation.
This patch uses the SRLinkWeigher to compute paths in
order to avoid l-s-l-s paths and also paired leafs
paths.

Change-Id: Id532d66e9543e3c898d2e18ca53be4599e206935
2018-04-06 02:47:55 +00:00
Andrea Campanella
663b14c6d0 Adding example Multicast Route Json files
Change-Id: I47b0661cd56df0b991f727512b3c50f8c238671c
(cherry picked from commit 29e5e11907407b4fa03ef9a199b35ee76092ee7d)
2018-04-05 23:22:02 +00:00
Pier
2016288d8c Fix missing "s" in the master pom file
Change-Id: If872a1d65a6c9000ab504bd87f36664dd1bb2b22
2018-04-05 23:18:30 +00:00
Yuta HIGUCHI
48f4cb7816 ODTN manual testing tool for OpenConfig configuration
- ONOS-7567

Example:
onos> odtn-manual-test ENABLE_TRANSCEIVER
JSON:
{
  "openconfig-platform:component" : [ {
    "name" : "TRANSCEIVER_1_1_4_1",
    "openconfig-platform-transceiver:transceiver" : {
      "config" : {
        "enabled" : "true"
      }
    },
    "config" : {
      "name" : "TRANSCEIVER_1_1_4_1"
    }
  } ]
}
XML:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <edit-config>
    <target>
      <running/>
    </target>
    <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
      <component xmlns="http://openconfig.net/yang/platform" xc:operation="merge">
        <name>TRANSCEIVER_1_1_4_1</name>
        <transceiver xmlns="http://openconfig.net/yang/platform/transceiver">
          <config>
            <enabled>true</enabled>
          </config>
        </transceiver>
        <config>
          <name>TRANSCEIVER_1_1_4_1</name>
        </config>
      </component>
    </config>
  </edit-config>
</rpc>

Change-Id: Ief5f1a1933fb00a2118bd941d8c5f0310ed9c815
2018-04-05 20:19:57 +00:00
Pier
b0328e4478 [CORD-2834] Handling of dual-homed sinks
Includes also McastUtils to move some code out of the McastHandler

Change-Id: I101637ee600c9d524f17e9f3fc29d63256844956
2018-04-05 11:44:03 +02:00
Pier
3ee2455530 [CORD-2838][CORD-2833] Revisit McastHandler and handle shortest paths with pair links
Includes also a refactoring of the path computation

Change-Id: Iff63780a3bb3e895e55c52211290c19d993e1905
2018-04-05 11:24:33 +02:00
Andrea Campanella
644a8a670e Adding rest API for new Mcast app
Change-Id: I8879879f0406295b61db11b9a66efef4acc0b0c1
2018-04-05 11:01:55 +02:00
Pier
139babb436 Fix Mcast store and Mcast CLI
Change-Id: I8f2bfe37738d7a7ee19ebcd79e13baa4abb01a76
2018-04-05 10:44:05 +02:00
daniel park
15506e8e21 Fix gateway ip address in OpenstackSwitchingDhcpHandler
Change-Id: I87db9b6159844d4e02a01a483e0a083af6ea77c1
2018-04-05 03:51:07 +00:00
Charles Chan
ba6c5751f7 Remove duplicated getPairDevice implementation
Change-Id: I10847d8909070ad75e0ccbcf432b80f460a4fed1
2018-04-04 22:49:37 +00:00
Saurav Das
604ab3a562 Improvements in route-path installation using bidirectional links.
Change-Id: I69875ba0dced1b0b7ec032edbe02a8cf380fadc2
2018-04-04 22:49:37 +00:00
Andreas Pantelopoulos
daf02c8c03 Fixed sonar suggestion in l2handler
Change-Id: Ia16e6197c36b3bebed4610c40624fa180a4b9385
2018-04-04 21:51:57 +00:00
Andrea Campanella
7c8bcdf944 Fix HOST event handling in MulticastRouteManager
Change-Id: I721470bd1879c1dc252346a0f4f085ca80f54156
(cherry picked from commit beea3e38fac2f6d763c62bb28bd7256b95bebd9c)
2018-04-04 20:20:51 +00:00
Charles Chan
6305b691fb [CORD-2882] Set route source to DHCP for DHCPv4
In accompany with gerrit 17675

Change-Id: I727bde64ebcc31fe2d758d96a8ad28b279a75c26
2018-04-04 20:07:44 +00:00
Andrea Campanella
4310f6e495 FPM routes removal when instance goes down or is removed
Change-Id: Ifda1bbc12e2474a13d3f47ded2e1befa1c8b1994
2018-04-04 11:30:31 -07:00
Kalhee Kim
44fbda16b8 [CORD-2906] dhcpv6 server ack pkt needs to set VID according to client vid
Change-Id: I21d651859e8525d7fbd826921ac7352f1f13fec9
2018-04-04 11:30:31 -07:00
Kalhee Kim
54a97c908a [CORD-2882] set route source to DHCP for dhcpv6 instead of FPM
Change-Id: Icf8e4a88a73d7c957959ecb16f2b0918bcc8c809
2018-04-04 11:30:30 -07:00
Kalhee Kim
b908212e6b [CORD-2876] set route source from RIP with RIP instead of FPM
Change-Id: If5c531b793f7532663adf8b1199ed8d2f1749214
2018-04-04 11:30:29 -07:00
Laszlo Papp
c5e85bbfd9 Use apache commons Pair instead of javafx
It looks like javafx does not have Pair when using OpenJDK.

Change-Id: I3379dc87e0515185714b28ca0832a36b76b0772f
2018-04-04 16:58:06 +00:00
Charles Chan
f433f95e1b Duplicated flow obj requests are sent in occasion of ROUTE_REMOVED event
Change-Id: I7ad9aa8f27203684921356689805b4092f138d78
2018-04-04 16:32:52 +00:00
Jian Li
4d5c5c3fab Refactor: simplify setoutput port to controller using punt method
Change-Id: Ifb906fb40f96fb1d7b3565f5921fcdc4fea02ad0
2018-04-04 13:39:57 +00:00
Andrea Campanella
e93f6619e2 Fix NPE thrown when searching multiple routes and IP is null
Change-Id: I3f3f45285c8d4be7106e397c83f18c5e56d9ec21
(cherry picked from commit c07125d728ff0f1778e43ed2c2cda0c962a5a1c3)
2018-04-04 12:51:24 +00:00
Andreas Pantelopoulos
935d59d367 Moved validity checks inside l2TunnelHandler.
Moved every validity check for pseudowires inside the handler
itself, this simplified the usage of handler methods from within
the SegmentRoutingManager. Further, improved the api for removing
pseudowires of the l2tunnel handler.

Change-Id: Idb2607aa546b0734add29d446cbedfd3b23c46bb
2018-04-04 00:16:14 +00:00
Andreas Pantelopoulos
ffe69743e0 Better error handling in pseudowire implementation.
I refactored the pw handler to return meaningful very specific
errors for failures. As a result, I modified also the cli and rest
api implementations to use these fine grain errors accordingly.

Change-Id: I2429532f747c4560378c40be325b039ca0f5c925
2018-04-04 00:16:14 +00:00
Andreas Pantelopoulos
6692fdd828 Better validity checks for paths chosen for pws.
As per Saurav's suggestion, checking the size of the path
could lead to unwanted scenarions. From now on, we check the
devices on the path, if they are edge or not, and according
to the type of pseudowire we validate the path.

Change-Id: I2e3a76524a12244199e0a8f409dd95fc1a3c2b2e
2018-04-04 00:16:14 +00:00
Thomas Vachuska
a10137c0fc Fixing residual ON.Lab references.
Change-Id: Ic54a281ce67e49236c7aeb536729d3900dd9433d
2018-04-04 00:02:22 +00:00
Ray Milkey
86ee5e8711 Upgrade fasterXML libraries for OS-9
Upgrade fasterXML to version 2.9.5 to address security vulnerability
Wrap calls to treeRead(InputStream) to handle new behavior of null streams

Change-Id: Id199cfacd0cf9e5371dc33de9f1e058c2e72eaa5
2018-04-03 16:49:03 +00:00