2955 Commits

Author SHA1 Message Date
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
daniel park
65e1c204df Fix OpenstackRoutingFloatingIpHandler to retrieve external peer router.
Fix OpenstackRoutingFloatingIpHandler to retrieve external peer router properly.

Change-Id: Ia240bcd21f8c74a253f322e4bd6d138f3bd6a86a
2018-04-03 13:20:42 +09:00
Charles Chan
e5e0c9ae38 Better error handling
Change-Id: Iac5934a89b177f4e0207a6ecc2e2f0731aca115e
2018-04-02 01:09:01 +00:00
Charles Chan
29d959805c Protect DhcpServerConfig from IllegalArgumentException
Change-Id: I76a942a322d203bf7bc0315478d1378bd9f45f18
2018-04-02 01:08:54 +00:00
Yuta HIGUCHI
1a1ba65370 Log info about loaded configuration
Change-Id: I80d9a7ea716947fca1ae12fb7ce21d345a077c81
2018-03-30 20:00:17 +00:00
Jian Li
7ddea787bc Fix: resolve NPE when inject non-existing compute node through SONA
Change-Id: I4b828c0c8e303bc1c27854899a5dc568a8be55cb
2018-03-30 07:31:33 +00:00
Yuta HIGUCHI
c2bf02a31c Fix typo in log message
Change-Id: Iaeffc242df2202ab3cf69f7e135c7bba5d4607f2
2018-03-29 16:42:31 +00:00
Laszlo Papp
55cb999aca Export the faultmanagement rest api properly
Change-Id: Ia8994cdbf21e97871be9e135fab704b55a7699a1
2018-03-29 00:46:44 +00:00
Jian Li
edc8b76fb7 Refactor: replace OSNetworkService with OSNetworkAdminService
Change-Id: I216cd3bf5b823049c7e684903acd97d57d1e9dff
2018-03-28 10:25:50 +09:00
daniel park
796c2eb2a9 Support flat network type
Change-Id: Idacd79b9799466ac800a689a4700163ce74c3ca1
2018-03-28 01:18:44 +00:00
Jordan Halterman
7329609f74 Support key/value sizes and counts in primitive performance app.
Change-Id: I5c2e00b4b2c30faad23a45adc6b7582fa150b6d1
2018-03-28 00:54:28 +00:00
Jian Li
e631216545 [ONOS-7553] Support injecting physical interfaces to openstack node
Change-Id: I5d746e9b4fa6015dbaec90d27ea7e1a7fa105e31
2018-03-26 22:17:04 +00:00
Andrea Campanella
15278a19b5 T3 Fixes:
- Incomplete multicast Path computation
        - NPE in case of null port for a device

Change-Id: Id3865ac3ac447b487ab59aff17d5554c5b8ae245
(cherry picked from commit 95da6491db769b90120eb2638c76cca2ac418289)
2018-03-26 20:30:16 +00:00
Yuta HIGUCHI
d6ab100e9b Fix cherry-pick bugs
- fixed wrong versions
- fixed few minor pom issues

Change-Id: I2a283ab591198401f776150566cd2a7165bd1e3e
2018-03-25 19:31:17 -07:00
Andrea Campanella
545edb4a04 Moving Multicast subsystem into app and refactoring APIs to support multihomed sources and sinks
Change-Id: I95d07b163c619b018ff106159b134ff214aa2ffd
2018-03-23 13:57:41 -07:00
Pier
37db369c64 [CORD-2828] Multicast support for H-AGG
Change-Id: I637465bcff6454f414c349a0ab054d66e3d17a05
(cherry picked from commit 4e9a7ce2f70a21a71f828335a6041101f2bf833e)
2018-03-23 20:00:28 +00:00
Charles Chan
7a888e878e Move all event handler to a different executor
Change-Id: I8e9f84b8f4cab5a5b1746f5279b462a5a2322ac5
2018-03-22 14:42:18 -07:00
Charles Chan
9c44ec7e9d Avoid ConcurrentModificationException
Change-Id: I0cadfb3a49a67e3d21d6749c923af55d36589d5c
2018-03-22 14:40:27 -07:00
Yuta HIGUCHI
348bba7ea0 TAPI 2.0.2-SNAPSHOT
- based on https://github.com/OpenNetworkingFoundation/TAPI/pull/302
           https://github.com/OpenNetworkingFoundation/TAPI/pull/303
  not official 2.0.2 release yet

Change-Id: Idf9dc67e77521e707cad67f5d8d609991cf8ce42
2018-03-21 15:39:08 -07:00
Andrea Campanella
d1cc1a371f Adding complete path to failed traces
Change-Id: I4c453b89c831a8978cafca10b1827e507856ff1f
(cherry picked from commit fec00e55291e26984d4af6a4030e99844598fd36)
2018-03-21 21:01:22 +00:00
Thomas Vachuska
6205f69aba Fixing scale test manager and CLIs.
Change-Id: I3d4120e68076cce0df33476dc15ee3cfcf4dfbc8
2018-03-21 12:22:04 -07:00
daniel park
32b42208e0 [ONOS-7444] Optimize SONA gw doesn't use vrouter app and quagga anymore
- Done: Deriving MAC address from external peer router, SNAT, Floating IP-based routing, SNAT with VLAN,
        Floating IP-based routing with VLAN
- Todo: GW loadbalancing

Change-Id: Ic3dee387e8b6215b5398691665135a00475a306c
2018-03-21 08:31:23 +00:00
Thomas Vachuska
fa61549330 Adding auto-layout to the access-null simulation.
Enhancing the scale test for flows and routes.

Change-Id: Ib91720b409872e44eaff4263cf229bffa2e292fc
2018-03-19 16:36:02 +00:00
Andreas Pantelopoulos
811bbaef85 Pseudowire enhancements :
- Fix bug for transporting l-s-s pws tagged.
  - Refactored and cleaned code.
  - Refactored cli commands.
  - Fixed bug in bulk rest api when the same pseudowires were tried
    to be added.

Change-Id: I28ded776266a08110922b93a8b330d0b343d470d
2018-03-15 20:02:52 -07:00
Charles Chan
b39777cfc5 Fix NPE caused by RoutingRulePopulator not initiated before linkHandler.init()
Change-Id: If21a2628c9d4e7687c26fda467240093dbc723c8
2018-03-14 23:49:22 -07:00