3138 Commits

Author SHA1 Message Date
Charles Chan
f2f8ef043b Fix ConcurrentModificationException
Change-Id: Ie4c3a56312156ded1cbc2fd8a0e4da822ff57205
2018-06-21 00:20:25 +00:00
Jian Li
0b56428c20 Add REST interface for synchronizing openstack states and rules
Change-Id: I42cd8c73130348b204ea7c98c98d5b16cca6c4e8
2018-06-20 23:43:47 +00:00
Saurav Das
137f27f0e7 Bugfix in routing logic to avoid null groups; Improvement in group handling.
Two main changes for the bug-fix:
    - avoid doing a full-reroute in the event of link failure as this will leave behind stale state in stores
      if event has been preceded by mastership change leading to the nuking of the ecmpSpg for one of the
      link's devices; instead do a rehash
    - when full-reroute is attempted, do it only once, with a complete nuke of the next-obj store

Improvement in group handling allows for a max number of retries for a group that failed to be added.
Earlier behavior was to try only once, and if it fails, it gets removed from the group-store. Now it
is removed after a couple of retries - so total 3 attempts to program the group.

Change-Id: I54ca8203cef779463522b01353540d12f8be3c91
2018-06-20 17:48:32 +00:00
Charles Chan
5adc628bd3 Refactor DefaultRoutingHandler to avoid hitting 2000 lines limit
Change-Id: I426e7fc70dcc063bd5742f86ba1141adf6d1d94e
2018-06-20 17:48:03 +00:00
Carmelo Cascone
4bf427f58a Recompiled P4 tutorial pipeconf to work with new P4 tools revisions
Change-Id: I2f1e5f49233f095148990eddee098bfd406a5cf6
2018-06-19 21:47:16 +00:00
Yuta HIGUCHI
4f55c67c98 NetconfSession refactoring
- Move netconf rpc envelope processing common across secure transport implementation
  to AbstractNetconfSession
  work by: Palash Kala <palash.kala@samsung.com>

Change-Id: I5f0d6adecf6224ae44f224291f645725b3c87739
2018-06-19 17:42:09 +00:00
Andreas Pantelopoulos
b251801737 Configuration option respondToUnknownHosts.
Set this option to true to respond to arp requests
for unknown hosts [Default Value = True].

Change-Id: Ia2f10b2fae22b65cd2ec12a04accd9ad0ec15109
(cherry picked from commit 7bf9e441bdc4c7ac420f2a59e4d176005a40d020)
2018-06-18 20:48:05 +00:00
donghyeok.ho
a73e5c31de Src/dst port range of fiveTuple in SfcManager was not validated correctly.
ONOS-7716

Change-Id: I02a69231eda3cb7fe28721604dfe6251731bf374
2018-06-18 09:05:25 +00:00
Carmelo Cascone
6af4e17c53 Bumped supported revisions of P4 tools
Includes:
- Use new P4Runtime "v1" package names
- Removed VALID match
- New table entry priority spec (1 is min priority, not 0)
- Fixed p4c-bm2-ss to include arch flag
- Re-compiled P4 programs with more recent p4c (with updated p4info)

Change-Id: I05908f40eda0f0c755009268fd261fb8bcc9be35
2018-06-15 19:04:30 +00:00
Ray Milkey
25747d88f7 Implement bazel support for web context
- add web context to OSGI rules
- build ACL app
- build DHCP app

Change-Id: I03687d109eb44621458ad7269a435e03eec47495
2018-06-15 09:01:35 -07:00
Ray Milkey
68bc3b0200 Bazel build of route-service tests
Change-Id: I453d5d9943dd616e300001887e27d6fa6474c814
2018-06-13 17:57:24 +00:00
Ray Milkey
15053f0fca buildifier formatting of bazel files
Change-Id: I8196aa52ee640d1c500307a50a0ab4921138b69b
2018-06-13 17:57:14 +00:00
Sangyeok Sim
61ac5703fa Correcting typo
Change-Id: I989d11a1f1d4bf006f52b99d218a245249244d1c
2018-06-13 17:52:07 +00:00
Ray Milkey
02a658bb4a Build segment routing app with bazel
- add support for apps depending on other apps
- build files for route-service and segment routing

Change-Id: I4850aacfe050f802072e2d59a6a21bcefd784e67
2018-06-13 16:23:14 +00:00
Arturo F de Velasco
60af96a74e answer to questions for self-checking
Change-Id: I9fab290e7ff3417e6523596d3df00dd757132ded
2018-06-13 13:01:07 +00:00
sdn
a0138f506a add logs in VtnManager to avoid return null silently
ONOS-7714

Change-Id: I22e86b8875581253eea83d2865bf7a7b33e5fe08
2018-06-13 03:56:37 +00:00
Andreas Pantelopoulos
7fba877401 Made the l2 handler use the new logic for pw trans.
- refactored l2 handler to *only* program initiation and termination
  points and nothing else.
- all pseudowires are set to be carried wiht PSEUDOWIRE_VLAN fetched
  from srManager.

Change-Id: I811370f21156a9ca4d42becb1f9401dbeb4fdc33
2018-06-12 19:42:27 -07:00
Andreas Pantelopoulos
5bf1366410 Various pseudowire fixes and improvements.
- Co-ordination when creating - removing pseudowires from
  different instances with a use of a DistributedLock.
- Fixed REST API To return json with specific error for
  the single pw instantiation.
- Fixed REST API to return specific error also for pseudowires
  that could not be decoded.
- Minor bug fix to return appropriate error when instantiating
  a pw from the command line that could not be decoded.
- Fixed bug when creating spine-leaf-leaf pseudowire where we observed flows in pending state.
- Improved logging.

Change-Id: I60dd0ebf8af63ca74d18cfe4801d01846641fb7b
2018-06-13 02:22:58 +00:00
Ray Milkey
1ccab71e32 Bazel support for apps with more than one included artifact
Change-Id: I2972772517a9b5f7f1fac52b9c00123689c0881c
2018-06-12 17:58:45 -07:00
Daniel Park
d1b14d3140 Fix: Avoid from deleting flat jump rules even if there are remained vm's in same host
Change-Id: Ia36f4a861454a8c7aeb7b70c4fcaaecc13891865
2018-06-12 16:40:04 +09:00
Ray Milkey
12ae6cae9f Start on implementation of apps with multiple included bundles
Change-Id: I8fc8474d5f2ff1b45e0dccfbe3fc20e27cc9000b
2018-06-12 02:09:35 +00:00
Daniel Ginsburg
83b764524c DHCPv[46] relay must replace the route instead of adding an extra NH
Currently DHCP relay adds an extra next-hop to an already existing route (if any). Instead
it must replace it with the new one.

This patch adds replaceRoute method to the RouteStore interface and corresponding implementations.
The DHCP relay implementation uses the new method instead of updateRoute

Change-Id: I601613168b83290db4e53d2aae5c86e963ae17b0
2018-06-11 17:01:57 -07:00
Jordan Halterman
3b1373715b Change DefaultRouteTable primitive to cached multimap.
Change-Id: I4b29f95894a5f761a59bebbd9aa6ea778a128f22
2018-06-11 17:01:57 -07:00
Ray Milkey
1d52dddd41 Bazel support for ONOS applications and OAR files
Change-Id: Ic938dded82a68aa75d5f5df18363f3127a36d1ef
2018-06-11 22:33:56 +00:00
Jianwei Mao
fd9f74417e [ONOS-7685]Improve failure inspection template for P4 Runtime developer
If P4InfoParser fail to parse p4info file, the parser will pass exact exception message to Apps by Cause of P4InfoParserException.

So, developer must use P4InfoParserException.getCause().getMessage() to gain exact failure cause.

This is hard to be reminded, especially when it is packed into IllegalStateException or other Exception class.

Change-Id: Ica9cd24521a9eb8700cd1cbfce573631c30cbff2
2018-06-11 22:01:35 +00:00
Jian Li
f3a28b0c36 Fix: remove FixedIpAddress associated with FloatingIp when purge VM
Change-Id: Ie48a0ec2694302e900755cccece9181f52386bc9
2018-06-11 23:02:53 +09:00
Jian Li
a171a43519 Fix: install flow rules to corresponding GW by listening fip events
Change-Id: Iece92a37181b1c4bf71a55ffd00b8bb080ae2fa9
2018-06-11 04:50:23 +00:00
Sangyeok Sim
7ff935ec7c remove extra semicolons
Change-Id: I28a033c97970cccfad10cfa68d4a7737f8d0d674
2018-06-11 04:42:19 +00:00
Ray Milkey
9dc5739c3f Sonar suggestion - Don't use a mutable collection in a public interface
Change-Id: I6f73f665cff20e558a8ec2f3cd319e4d9b00bb58
2018-06-11 04:42:00 +00:00
hiroki
fca084bf9a Add device config change request using NetCfg
Change-Id: I01ae9caf298e606333ea31b2b480d744a2815c76
2018-06-08 22:42:45 +00:00
Sangyeok Sim
cd125ded3b ACL Input param validation for L4 port
Change-Id: I5862aab56404afaf4d36e982a0259a498fdab216
2018-06-08 20:11:19 +00:00
Jian Li
52c1122305 [ONOS-7683] Add unit tests for a set of telemetry config classes
Change-Id: I73ad36e02044371a2fb87540e28ef2257a6dba92
2018-06-08 07:18:24 +00:00
Jian Li
2cf1c0b150 [ONOS-7683] Implement various default telemetry configs
Change-Id: Ibfd222be32e9fb7cb29833f9b0d369abaa6e814d
2018-06-08 07:18:17 +00:00
Jian Li
ff8b9f9af6 [ONOS-7683] Initial commit of openstacktelemetry with service interfaces
Change-Id: Ic1d40107fbdf2e77fd5e52c83d06f04251e868ba
2018-06-08 07:16:45 +00:00
hiroki
79d5ac38d7 Add dcs store dump command for ODTN
Change-Id: Ib8203b03b8a370c1ca7b41df73fe02ed0135da77
2018-06-07 20:47:07 +00:00
Jian Li
51b844ce9c Support openstack controller node status check feature
Change-Id: I285b977ae32dd6d140aca7f25b00962db77b1054
2018-06-07 16:59:35 +09:00
Daniel Park
c4d0640983 [ONOS-7627] Support the creation of sr-iov port type for LiquidIO smart NIC
Change-Id: I6d55d1dfd26ec6ed0b9df9fdeea31749b0c49b7c
2018-06-07 15:25:20 +09:00
Jian Li
d4066ea7fc Bugfix: resolve a NPE caused by quering a non-existing router MAC
Change-Id: Ie059690efd697341b7c9de4a61a1ce8b20e9734f
2018-06-07 05:41:39 +00:00
Jian Li
de67978884 Fix: avoid ICMP DUP replies caused by duplicated rules in GW nodes
Change-Id: Idabdbd5a7643a5d4fe28f552ef427d9f064cecc2
2018-06-07 05:23:37 +00:00
Charles Chan
ff79dd9169 Implement host probing retry with major refactoring
- Implement probe retry
- Switch to typical core/provider design pattern for HostProbingService
  and as a result decoupling the dependency between SR and HostLocationProvider

Change-Id: I33a15af580677ea376b421ac3e26f9821dcca844
2018-06-06 16:57:33 -07:00
Andrea Campanella
fbcd55e7d8 sr-mcast NPE fix on vlan change
Change-Id: I9523e750fdb5fd76cf120ee2e64f3c63471c8132
(cherry picked from commit f053484c4a3310d93bbddfb4c8872cacebeb33c6)
2018-06-05 16:33:21 +00:00
Andrea Campanella
14c84e51b1 T3 Fixing HW miss on table 40
Change-Id: Ie98a3671017b4063129af58f326e6996d50d8b28
2018-06-05 12:26:55 +02:00
Jian Li
14a79f22de Fix: handles ARP Reply msg only if it is received by gateway node
Change-Id: I3a434fac506ba4aaffeb6eb1bc9bfa1a1f2231e5
2018-06-05 09:33:06 +09:00
Jian Li
09336097d8 Fix: resolve the maven build error caused by cyclic dependency
Change-Id: I746e7058e5fb80e9c058ca6069dcfec131202897
2018-06-04 18:12:21 +00:00
Ray Milkey
2ee4585ea0 Sonar suggestion - don't use RuntmeException
Change-Id: Ia37837810f6d9f13b3b5fc186094ca431766b7c4
2018-06-04 10:06:09 -07:00
Jian Li
1064e4f5c2 Initial implementation of gateway load balancer for SONA app
Change-Id: Idd03646d637acd448985eb6e62204a8a9d759867
2018-06-04 09:42:04 +00:00
Yuta HIGUCHI
f84c91a7a4 Fix ResourceData conversion issue
- root of DataNode specified was getting skipped.

Change-Id: Icedb9467c2558ea21a7a5f8cc05592dc0ac81650
2018-06-03 22:19:38 -07:00
hiroki
f4ed521142 [ODTN] Add read/create/delete ConnectivityService RPC
- RPC: get service interface point
- RPC: get connectivity service list
- RPC: get connectivity service detail
- RPC: create connectivity service
- RPC: delete connectivity service

- Filter method of TAPI resolver for both Node / NEP
- Change condition for sip to odtn-port-type
- Use odtn-port-type in path-computation mock
- Create CEP at topology discovery

- Add sample path calculator
- Add connection-id based path selection

Change-Id: I2f08aacb3dd14b6b3c59a64a349e50abb495f70b
2018-06-02 11:15:11 -07:00
Jian Li
b8307cdeac Support hostname completing feature for openstack-node-init command
Change-Id: I3afca9ad5fe4bf2a35a9b65f9ea13cb093a09083
2018-05-31 02:46:59 +00:00
Jian Li
01c512d4de Update the example network-cfg.json for openstacknetworking and node
Change-Id: I681575a341da260d5be6ba58a4ec9730e88ab68b
2018-05-31 02:46:40 +00:00