63 Commits

Author SHA1 Message Date
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
Aneesha Pailla
7f44bc326f Changes to be compatible with Calient Switch Software Release 6.0.4
Conflicts:
	drivers/default/src/main/resources/onos-drivers.xml

Change-Id: I218620fac4413ce03cb9a70d8da8c7f9757d4f4f
2016-02-23 03:45:09 +00:00
Ray Milkey
2be39edc6d Remove methods deprecated in Drake from Instructions API
Change-Id: I87a20cb9e8abbf4b27bbb4760a62947169866ea6
2016-02-23 00:33:35 +00:00
Charles Chan
d0fd5dc1bd CORD-546 Push L3 unicast rules for bgp peers when they are learned
- Change L3 unicast group id/key generation to include src MAC
- Note: Only flows are removed when a peer is gone
  since the group may still be referenced by routes announced by peer.
  It does no harm even if the group is not referenced.
- Note: We assume that peer does not move or update IP

Also fix several SR/VR integration issues, including
- Do not push broadcast group for /32

Change-Id: Ifb03601f5341f8b7717ea1fbccbc569b07f66476
2016-02-19 23:36:19 +00:00
Charles Chan
5270ed0088 CORD-512 Support vSG <-> vRouter default route
- Support multiple subnets per port. getIpPort() will only return the first non-/32 and non-/0 subnet
    /32 is used as vSG subnet
    /0 is used as default gateway
- Support multiple L3 unicast group on a single port
    Change the way to generate the group ID and group key
- Special case for 0.0.0.0 host. Push a /0 to IP table instead of /32
- Implement vRouterConfig
    Put VR MAC to TMAC table of all leaves when config added
        When processEthDst see PortNumber.ANY in key, match ETH_DST only
- For OFDPA, wipe existing instruction before sending to controller
    So packet that misses L3 unicast table won't be sent to controller twice
- For SpringOpenTTP, pop VLAN before sending to controller
- Move several constant definitions to SegmentRoutingService
- Add minimum priority for IP rules such that /0 won't collide with zero priority default rules
- Update the config sample
    Use VLAN=-1 for hosts
    Add example for default route

Change-Id: Id751697ce36a7e5c13b3859350ff21b585c38525
2016-02-18 17:30:19 +00:00
alshabib
1aa5814ec1 support addition and removal of mcast sinks
vlan mcast rules are now optional

Change-Id: Icb7022089a6e139970040d8cdea97df0cdc8dc7c
2016-02-18 14:53:04 +00:00
Zsolt Haraszti
9faab75be0 Add missing fail() invocation
Added missing fail() call-out in the versatile flow objective handler in
OFDPA2Pipeline.java to cover the case when neither a nextId nor a
treatment is provided.

Change-Id: Ic73e614c141281ff0014a8055d35183b7c3abd4e
2016-02-18 09:03:42 +00:00
Thomas Vachuska
800a7a496a Simplifying the use-model of AbstractDriverLoader.
Change-Id: Iaf19ce92c7e153b5477340abb8e7650d8434ca86

Simplifying the use-model of AbstractDriverLoader.

Change-Id: Iaf19ce92c7e153b5477340abb8e7650d8434ca86
2016-02-17 01:09:36 +00:00
Sho SHIMIZU
ef7e290e20 Make use of Optional more idiomatic
Change-Id: I42b3261169e7cb8408f46c5831f72115f77fd779
2016-02-17 00:38:48 +00:00
Saurav Das
49831644a9 Two fixes: 1) cpqd emulation of ofdpa pops off internal vlan before sending to controller
2) Arp handler does not need to send flowmod to switch as hostmanager listener is doing that

Change-Id: I5460aa36bcb3cfce3bc1887e304a63b2221495b9
2016-02-05 13:18:01 -08:00