2990 Commits

Author SHA1 Message Date
Yuta HIGUCHI
71f8e7b6c1 Fix weird usage of Comparable
Change-Id: I03b7ebf80f419f2e09cc1c99d02b23cb0cdef6b3
2018-04-12 10:30:27 -07:00
Jian Li
bb4f541bb2 Fix: resolve NPE by obtaining networkId from subnet instead of port
Change-Id: Ib49a8627e601bc893062069daf6f266fcc8e8460
2018-04-12 01:43:46 +00:00
Carmelo Cascone
700648c993 MyTunnel P4 tutorial app and pipeconf
Change-Id: I0549276fc7f6c8d0d244d6c52b1b9e85b9c3e13c
2018-04-12 01:13:33 +00:00
Carmelo Cascone
255125d9fc No need to map table counters in PI pipeline interpreter
This is related to ONOS-7595. In a recent P4Runtime update, it has been
made explicit that tables can support at most 1 direct counter. Hence,
the pipeline interpreter no longer needs to provide a mapping between a
table and one of potentially many counters. If needed, such mapping can
be derived from the pipeline model (i.e. the p4info)

Change-Id: Ibdece52f35a4d187ab9dbeb90f5527b6285e9788
2018-04-11 21:24:48 +00:00
Carmelo Cascone
fe611e4127 Avoid installing ARP packet requests in ReactiveForwarding
The same packet request is installed by proxyarp which is needed by
reactive forwarding to work.

Change-Id: I2c92e8e3eb8eb2515585fbfbcb2633cae9bf0777
2018-04-11 21:13:31 +00:00
utkarsh
663d0ebb4a [ONOS-7599] Test application to test cluster stability after multiple SDNC node reboots
Change-Id: Iedb57017d9247d13569b2ccfea559d905286acf3
2018-04-11 18:48:50 +00:00
Jian Li
eae123687c [ONOS-7606] Support ARP broadcast (VxLAN) to handle CP failure
Change-Id: Ia0bccf6abaad3e074f2d86a511d5930974743b43
2018-04-11 18:27:20 +00:00
Jian Li
8cbc3b9fd3 Refactor sync-state command, allow specifying perspective as option
Change-Id: I2caf3cd3a36178fb26ed34df24de38df252944fc
2018-04-11 18:27:20 +00:00
Ramon Casellas
47b9ba6083 ONOS-7451 Update sample files to TAPI >= 2.0.2
tapi-connectivity@2018-03-07.yang

Change-Id: I418803922d6432de158eb0a9beaa6cb4d06fc2dc
2018-04-11 17:58:24 +00:00
Charles Chan
e7c7d0586f Ignore more than two next hops
Change-Id: Ie42365a3a8b9e7f763c21e3f9be9e9abfc35dbf7
(cherry picked from commit e800860179913ce9c37bb378ff27ecb1c68d81dd)
2018-04-11 17:55:20 +00:00
Charles Chan
32a31aace0 Display resolved status in routes command
Change-Id: Ib02f5fa6863bfdc9cd8bbd8c1237914ff48e3c7c
(cherry picked from commit 8d2650043bdc401d48612e0ee1433d67e6b97809)
2018-04-11 17:55:03 +00:00
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