122 Commits

Author SHA1 Message Date
lishuai
90b3b6cdbf [ONOS-4427] TunnelIn flowrule can not be applied to devices in ONOS 1.5
and 1.6 . In ONOS Version 1.5 and 1.6, Instructions.CreateDrop interface
is missed, which cased the pipiline judging condition can not be
matched, and the flowrule of tunnel in can not be applied to device.

Change-Id: Ibe892098b37f7f9f4d3b542ee31b1b6039f8b471
2016-05-04 16:14:05 +00:00
Saurav Das
7762179a2c Bug fix for Dell driver to use dummy group as flow-actions
Change-Id: I2ca81217ad8a51fe0f8f907a1befaa0fd947e40f
2016-05-04 16:12:14 +00:00
Saurav Das
59232cf8f8 Changes include:
bug fix for host IP and MAC flows not being generated sometimes in multi-controller scenarios
      bug fix for filtering objectives not being sent sometimes when ports become available later
      npe fixes in ofdpa driver for cases where selectors or treatments may not be available
      new cli command to manually trigger routing and rule population
      portstats option on cli to display only those ports with non-zero stats
      group cli command tab completion displays choices in lower case (similar to flows)
      segment routing cli commands now start with sr-

Change-Id: Idcd641882d180acbd304e5560ed3483b5a943f96
2016-05-03 00:52:58 +00:00
Charles Chan
e3ba6956e0 Fix ClassCastException
Change-Id: I1c9e6a37c6871bd8186d5ab19a87268d9250aacd
2016-05-02 23:57:09 +00:00
Brian O'Connor
be27bb3da3 Updating BUCK files
Change-Id: I24f279b42a270e59cf4bf4564e2aa4d81459c8e2
2016-04-29 18:23:19 -07:00
Ray Milkey
8dac818d23 Refactor protocol BUCK files to use more modern rules and format
Change-Id: I9262fdeef12cfd098afefc711d995ffc76b9efb1
2016-04-29 17:33:12 -07:00
Ray Milkey
61403ed21d Appify BUCK builds for drivers
Change-Id: I94a44950ce793008ff2a3b2105207a9fff9a53ed
2016-04-28 21:56:55 +00:00
Jonathan Hart
855179c176 CpqdOfpda pipeline table miss entry for multicast IP table.
Change-Id: I4efb76819007cc757dce123f3fd1ba83e2bc2c74
2016-04-28 16:17:11 +00:00
Charles Chan
216e3c856b Refactoring SegmentRouting, OFDPA driver and Group Store
- Replace SRNextObjectiveContext with DefaultObjectiveContext
- Move several log messages to lower log level

Change-Id: Ice2fb598b8e4502cb4acee1a95235551ec7c8db7
2016-04-26 16:57:23 +00:00
Madan Jampani
d5714e09fd New and direct StorageService method for creating an AtomicCounter
Change-Id: I8c189584dde590842075bea7e03c4c8ecf8d72c2
2016-04-19 21:37:35 +00:00
HIGUCHI Yuta
d9e0105d79 log uncaught Exception
- Use execute instead of submit so that uncaught Exception will
  be dealt and logged by ExecutorService's handler.
- Use component's own logger

Change-Id: I761264aea00748980929b5048e111756776dd2f6
2016-04-19 17:10:00 +00:00
Charles Chan
d55e84de33 CORD-348 multicast support in SegmentRouting and vRouter
In this submission:
* Setup/teardown multicast route according to SinkAdded/SinkRemoved event
    - ingressVlan and egressVlan is configurable through network config
* Change behavior of OFDPA VLAN assignment
    - Always use the VLAN in metadata if present
* Bugfix of writing immutable object

NOT in this submission (coming soon):
* Error handling (e.g. link/device failure recovery)

Change-Id: I9be11af04eb2d6456b865c7e59e96cc02370f846
2016-04-18 20:06:57 +00:00
alshabib
48dc2f19d4 adding drivers for the celestica
Change-Id: I404a4e5e5fd75bdeaff19fd68662164d884f6179
2016-04-18 17:45:45 +00:00
Jian Li
dab7256be5 [ONOS-4258] Initial implementation of supporting extension in REST
- Support Nicira extension

Change-Id: I62bf4417e43459727ce7d4b1ac929c6cf0b7826f
2016-04-18 17:24:04 +00:00
Charles Chan
425854b7a7 Fix group handler in CpqD OFDPA driver
We should not use OFDPA extension VLAN ID in CpqD OFDPA driver (gerrit#8609)

Change-Id: Ife451c25c48a7aba2c4f7f8c66f71c9f362ab37c
2016-04-12 03:19:16 +00:00
alshabib
b05be2d9ed Adding support to remove a subscriber.
And fixing an issue where build on a flowrule could not be
called repeatedly.

Change-Id: I85773ac7a3fb4f2970b63599d1eafbfc8b3c5879
2016-04-11 20:52:49 +00:00
Murat Parlakisik
4f50e3fe92 ONOS-4283 Adding hp driver
Change-Id: I2d31ea816550ca6d2097eee53650457ee778e9a8
2016-04-11 17:09:23 +00:00
Brian O'Connor
7cbbbb7009 Adding Copyright notice to files that are missing it
Change-Id: Ic08aad8906dbd4dd062e7adcec7465475cf2bdda
2016-04-09 09:51:27 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Charles Chan
3256252b26 Use OfdpaSetVlanVid extension instead of setVlanVid in group buckets
GroupBucketEntryBuilder now shares the same treatment builder as FlowEntryBuilder.
Therefore, we also need to use the extension when building group buckets.
https://gerrit.onosproject.org/#/c/8485/

Change-Id: Ic85dd10d1bfd8c0ca26f5811369f0587dc286761
2016-04-08 14:50:50 +00:00
Brian O'Connor
b86c920526 Updating Buck files to build OSGi jars
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo

Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
2016-04-06 18:17:37 +00:00
Jian Li
ffef500b4a Remove redundant extensionTreatmentInterpreter support check
Change-Id: I1bcaefcdf8f97a7bed4916734142cabc04f566e4
2016-04-06 17:38:49 +00:00
Brian O'Connor
85f28d0a0a Updating test sources in several BUCK files
Change-Id: I17b83cb978f7b8fc1d31a1e96bec59a077dbdfbb
2016-04-06 16:57:45 +00:00
Brian O'Connor
01ac79ec64 Updating onos-of-api
We not longer shade openflowj in onos-of-api, instead we used an
OGSi-compatible version of it.

Change-Id: If083c355f441783de3790d3e87ca824f386cccd8
2016-04-05 02:27:59 +00:00
Jian Li
d416388566 [ONOS-4245] Support resubmit experimenter action for nicira driver
Change-Id: I7beac62d5c23fb8e2fe7d7d23947c55fbb849064
2016-03-31 17:24:25 +00:00
Charles Chan
5b9df8d6a6 CORD-455 Implement multicast support in OFDPA driver
Also refactor Ofdpa2GroupHandler

Change-Id: Id6a9224cab663f57edb8e85a0e7d81e7da3df132
2016-03-31 15:15:11 +00:00
Ray Milkey
f80bbb22c2 Initial BUCK build
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00
alshabib
8336447e7c removing cookie generation from olt pipeline
Change-Id: Ib9bb69fcf5ac0dc603d033ba2cbb8c9127cc8b81
2016-03-25 21:34:47 +00:00
Charles Chan
361154b9d3 Rename OFDPA pipeline according to the naming convention
Change-Id: Ia7709aded0c20cf556031a723a986b9baca3ffa8
2016-03-24 18:13:28 +00:00
Saurav Das
8be4e3a4cb In this commit:
Removing dependence on hashing for unique groupkeys in ofdpa driver.
    Group-store no longer removes groups from store if a group-operation fails due to GROUP_EXISTS.
    Group-store also checks for unique group-id when given by app.
    Group-provider now logs warning before making call to core.

Change-Id: I4a1dcb887cb74cd6e245df0c82c90a50d8f3898a
2016-03-22 18:26:04 +00:00
Saurav Das
244311924c CLI command to help debug the mapping of next-Objectives to the
groups that are created by device drivers.

Change-Id: Iff9e04e5e96b2cabbdb40e83215315d2e27791a6
2016-03-21 18:04:20 +00:00
Brian O'Connor
955c316b54 Starting snapshot 1.6.0-SNAPSHOT 2016-03-10 15:27:19 -08:00
Brian O'Connor
55b4d80176 Tagging 1.5.0 (Falcon) 2016-03-10 15:24:41 -08:00
Madan Jampani
23696428f8 Starting snapshot 1.5.0-SNAPSHOT 2016-03-09 14:02:04 -08:00
Madan Jampani
b7a5420285 Tagging 1.5.0-rc3 2016-03-09 13:47:32 -08:00
Ke Han
43cc16afcb set driver for Nokia equipment
Change-Id: I85910d7f0448e3a92ca3e700f7f1cfa2f9bd6e50
2016-03-08 19:03:49 +00:00
Jian Li
fd46e1d293 Refine application title and category in app.xml and pom.xml
- Remove ONOS keyword from application title
- Capitalize each keyword in application title
- Make it consistent to use App, Provider and Driver in
  application title
- Add right category name for each application
- Add missing application title and category
- Make application category comment more descriptive

Change-Id: Ib886b4a4293c38bd546a4107b20569f1bd7031a7
2016-03-08 18:41:50 +00:00
Saurav Das
0fd79d91ea Group handling changes:
Edge case fix in group store where extraneous group buckets are updated so the group can be reused
      Bug fix for broadcast group in OF-DPA as there can only be one l2flood group per vlan
      Group operation failure codes are now reported by the provider to the core
      Group ids are displayed in hex in a couple of places

Change-Id: Ib48d21aa96e0400b77999a1b45839c28f678e524
2016-03-08 02:12:14 +00:00
alshabib
b3c1434414 adding a discriminant to OF rules for q-in-q tags.
Change-Id: Ic192f950b07fb18673659867631fea87ae7d6172
2016-03-07 22:34:06 +00:00
sangho
900885389f [ONOS-3953] Implements Security Group of Openstack
Change-Id: I30766097a2894a26e46a7a399176d99e95af6abf
2016-03-07 18:42:16 +00:00
alshabib
6cb8636739 fix removal of rules in a distributed setting
Change-Id: I44cb49990b8051f5f1542c11cbda6846049906e3
2016-03-04 21:34:13 +00:00
Thomas Vachuska
5d8994ffce Starting snapshot 1.5.0-SNAPSHOT 2016-03-03 17:13:26 -08:00
Thomas Vachuska
40d5255ca9 Tagging 1.5.0-rc2 2016-03-03 17:08:36 -08:00
alshabib
5ccbe3f2e6 making the olt pipeline support distributed cookie values.
Change-Id: I8e9d1c2736c0b62b887ef621e148a2bce6fe620e
2016-03-03 16:59:57 +00:00
Thomas Vachuska
8378ccf28f Making default single table pipeline accept SPECIFIC as well as VERSATILE flow objectives.
Changing flow objective intent compilers to use SPECIFIC flag.

Change-Id: Ib275fe0fa38b66045fcdc225233a37ad0897bac6
2016-03-03 03:07:24 +00:00
Charles Chan
be8aea439d Change untagged representation in OfdpaMatchVlanVid from 0 to NONE
Note: Match vlan 0 is still not supported in this commit

Change-Id: Iecfcde151261e9df53b1cc8fbe9c1a397686a3d9
2016-03-02 03:31:08 +00:00
Rimon Ashkenazy
9ab0dc4622 Add support for OTU ports in TributarySlotQuery
Change-Id: Ia0ea4913bf8d0ea0437f082e2fa0787fcf792dcc
2016-03-01 20:12:55 +00:00
Charles Chan
aedabfd27a Remove duplicated multicast prefix declaration
(Following #7957)
Also,
Update copyright
Few documentation improvements

Change-Id: If4a6b9f168e9d7587976f1f2b59c2b59b81c6c2f
2016-03-01 20:11:59 +00:00
alshabib
56efe43fa3 fix olt cookie issue
Change-Id: I25ce0b5fc9058195498aa407d01aef1fa78a95e4
2016-02-26 16:51:17 +00:00
Ray Milkey
125572b666 Remove methods deprecated in Drake from L2ModificationInstruction API
Change-Id: I30dbc2e9c590d4bc2bc672e13581dbd1c3b3561b
2016-02-23 08:51:36 -08:00