354 Commits

Author SHA1 Message Date
Carmelo Cascone
3f85684f42 Added caching for bmv2 thrift sources
No need for internet connectivity after the first maven build.
Also switched to rawgit.com hosting (no throttling of requests). Minor
polishing of the patch script and module structure.

Change-Id: I065a62bddc779c698f4b76865525bf4d973ad2ab
2016-06-28 19:54:50 +00:00
sunish vk
7bdf4d4daa ISIS protocol manual merge from 1.6 due to cherry pick merge conflict
Change-Id: I6c3abf6a83ddaeba76293dc7864fcec88e9b4e7e
2016-06-24 14:28:17 +05:30
Avantika-Huawei
3c2d3eba52 [ONOS-4722] cherry-picked GoldenEye:Fix exception on learning unknown PCE-initiated LSP from PCC
Change-Id: I8abc003aeb187f18e51de533f0c51e265dfd8661
2016-06-22 07:12:13 +00:00
Avantika-Huawei
f849aaba05 Cherry picks from 1.6 branch
Change-Id: I596247425802fc759463bcf77ea3c885f3161581
2016-06-22 03:07:03 +00:00
Akihiro Yamanouchi
5e5d4df902 [ONOS-4654] NETCONF function for FUJITSU OLT #1
Change-Id: I3565d127252de732d249ed5dd919874d6438c2fa
2016-06-22 00:52:25 +00:00
Andrea Campanella
c385126fcd Adding post method with String return type
Change-Id: I4483ad2494ccaca08f7460de212e432d46cba710
2016-06-21 16:19:31 +00:00
Priyanka B
dc93bee22f [ONOS] Capability defect fix and component activation fix
Change-Id: Ie7336d1b445a14820a948e4b20c7ad2d6478682d
(cherry picked from commit b19d0349a605d82f516e6b98ae93f38160ff813c)
2016-06-21 13:30:17 +00:00
Hyunsun Moon
1251e19d7a Refactored bridge config to take bridge description
OVSDB provides lots of bridge configuration options but the exisisting
bridge config implementation only allows some of them by overloading
addBridge method. Also some of the bridge properties were set static
and unable to configure. This patch fixes these limitations.

- Added some bridge config options to the bridge description
- Deprecated multiple overloaded addBridge methods
- Some code clean up

Change-Id: Ibc828177b210bd4b215aea0b63cc359776c13e03
2016-06-16 07:52:07 +00:00
Brian O'Connor
1b2aea88c0 Removing gratuitous relativePath from pom.xmls
The default value for relativePath is: ../pom.xml

Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Priyanka B
4c3cef0159 [ONOS] RSVP defect fix in master
Change-Id: I090d389f65a457cf5756ce73fe0c37468b46db5b
2016-06-16 05:17:34 +00:00
Carmelo Cascone
25f1888414 Various bmv2 changes to reflect onos-bmv2 v1.0.0 (onos1.6 cherry-pick)
Most notably:
- Updated repo URL and commit ID to official onos-bmv2 fork
- Removed ugly string-based table dump parser, now there's
	a proper API to retrieve table entries (added support in
	Bmv2DeviceAgent)
- Removed unused arguments in packet-in API

Change-Id: I5ff0948eb8fec5283a085913496c187e7b278d8d
2016-06-16 01:30:12 +00:00
Carmelo Cascone
0831efb0b5 Various changes in BMv2 driver and provider modules (onos1.6 cherry-pick)
Driver notable changes:
- Implemented new behaviors, removed deprecated ones
- Removed flow rule translator classes (now under protocol module)
- Improved FlowRuleProgrammable: now it uses BMv2TableEntryService
	to lookup/bind flow rules with BMv2 table entries, retrieves flow
	statistics, better exception handling when adding/replacing/removing
	table entries.
- Improved PacketProgrammable: better exception handling and logging

Provider notable changes:
- Bmv2DeviceProvider: detects and notifies device configuration
	changes and reboots to Bmv2DeviceContextService, added support for
	periodic polling of port statistics
- Bmv2PacketProvider: implemented workaround for OutboundPackets with
	flood treatment

Change-Id: I79b756b533d4afb6b70025a137b2e811fd42a4e8
2016-06-16 00:48:51 +00:00
Carmelo Cascone
17fc9e41df Major refactoring of the BMv2 protocol module (onos1.6 cherry-pick)
- Created 3 separate sub-modules: API (doesn't depend on
    Thrift), CTL (depends on Thrift), THRIFT-API (to generate Thrift
    sources)
- Implemented 2 new services (for device configuration swapping and
    table entry management) needed to distribute BMv2-specific state
    among ONOS instances.
- Implemented a BMv2 controller (previously other modules where
    using separately a Thrift client and a server)
- Added a default BMv2 JSON configuration (default.json) and interpreter
    to be used for devices that connect for the first time to ONOS.
    This allows for basic services to work (i.e. LLDP link discovery,
    ARP proxy. etc.).
- Changed behavior of the flow rule translator and extension selector,
    now it allows extension to specify only some of the match parameters
    (before extension selectors were expected to describe the whole
    match key, i.e. all fields)
- Various renaming to better represent the API
- Various java doc fixes / improvements

Change-Id: Ida4b5e546b0def97c3552a6c05f7bce76fd32c28
2016-06-16 00:47:42 +00:00
Yuta HIGUCHI
839b6edf50 Fixing file permissions
- removing executable bit from .java files

Change-Id: I7e993372e1edf942fefb5aaea2e302b3b2baebd9
2016-06-15 02:22:16 +00:00
Avantika-Huawei
fc10dca2dc [ONOS-4687] GoldenEye - Label map download issues.
Change-Id: I5b56ccc6b8bad3c585f4d33ddd6d9094751c8797
2016-06-10 16:13:55 +05:30
Priyanka B
cdf9b10912 [ONOS-4671]PCECC defect fix , bgp pcep provider having same scheme problem
Change-Id: Ibfb18cfa79ec04ec2a62b2139d28b9c7b03d0a07
2016-06-07 15:22:17 +00:00
Andreas Papazois
2e557be44d [ONOS-4662] Removing "ERROR" string from error netconf replies.
Change-Id: I7937e4140d5997dd61d70cc13ea933be3381cbe4
2016-06-06 16:08:14 +00:00
Priyanka B
19c0873384 [ONOS-4171] Proper Router ID format.
Change-Id: I97c714792e56cc92d761d1d7e85baa1ca8e78893
2016-06-06 02:58:10 +00:00
Avantika-Huawei
3524d85a34 [ONOS-4663] [ONOS-4664] ST defect fixes in session establishment/sync
Change-Id: I0bdb4ad08295fe30c488e9170923847112fab647
2016-06-05 14:22:52 +00:00
Priyanka B
259847d20b [ONOS-4171] Merge PCEP and BGP providers into common BGPCEP provider.
Change-Id: I13c367313c372d4b3f76b942b6c147244bf683ce
2016-06-03 17:32:37 +00:00
Avantika-Huawei
fe44ea6f47 [ONOS-4166] Store device capapbilities using network config
Change-Id: Ib085c516bec0ecf9845e009eca090aad9302fbb0
2016-06-03 00:58:24 +00:00
HIGUCHI Yuta
5b4b6c6010 Remove duplicate test
- copy exist in src/test/java/org/onosproject/bgpio/types/attr/

Change-Id: I25cec163e5493b509281500df7d7f80cd1c2aee1
2016-05-31 03:11:32 +00:00
Priyanka B
658aa6981e [ONOS-4166] Add the capabilities for links and devices in the resource manager. Also update the resource information from BGP-LS update.
Change-Id: I3ac50941c2841c104393fc543107496bffe92bbc
2016-05-29 07:46:58 +00:00
Avantika-Huawei
d1e36bd01e [ONOS-4170] LSP-DB sync
Change-Id: Icda3afd9cca8d1fb8c58b44da6bc26064b300388
2016-05-27 19:44:01 +05:30
Shashikanth VH
e38c21e21e BGP routepolicy distribution bug fixes.
Change-Id: I2176e3872391658263d6817ac8850a3390de00de
2016-05-27 03:43:49 +00:00
Shashikanth VH
83f77e46eb BGP non root user port issue fix.
Change-Id: Ia2de9425807898f4e1e8c04f81475f77b5320c93
2016-05-26 15:07:07 +00:00
Priyanka B
413fbe86d1 [ONOS-4167] Identify the impacted tunnels based on network events, notify to PCE app and trigger MBB flow.
Change-Id: I1766f4afbc0ee2f4c05c75cf788c91f9df8aaa9a
2016-05-26 06:36:02 +00:00
Priyanka B
94395bf02c [ONOS] PCEP provider changes, added node listeners to topology provider
Change-Id: I98bc6445ee78a8f0bf53f897f0a25f678ec7fc99
2016-05-25 08:48:03 +00:00
Jonathan Hart
8a39361937 Removed orphaned Java file that is no longer built or used
Change-Id: Ib9bfbd7666233f1debfc3673ca568b7ca55fe159
2016-05-24 16:33:16 +00:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
Mahesh Raju-Huawei
e853602a41 [Code Review] PCEP Report message min length should be 18 & PCE web java doc
Change-Id: I62046aeed2e75b666d85dfedbc7b1c1ba9ad9570
2016-05-18 21:02:09 +00:00
Bob zhou
e9795fdc97 [ONOS-4426] [ONOS-4511] [ONOS-4502] Upgrade Vtn Module when access same network segment.
Change-Id: I3afe6b36a44f0eedd642eeadfc23fc3233e7621e
2016-05-17 16:18:47 +00:00
Avantika-Huawei
7c14e664d4 [ONOS-4170] Label Db sync
Change-Id: I7322d962551e3c5a046b64884ebc7a2f15ee0cd3
2016-05-17 03:56:54 +00:00
Avantika-Huawei
7f7376a6ec [ONOS-4170] PCEP provider changes for LSPDB sync
Change-Id: I9229fec9d97dd46343cc809e33c92b9722ab7ed3
2016-05-14 06:28:07 +00:00
Carmelo Cascone
2c72ac7f04 Fixed race condition in bmv2 SafeThriftClient
This was due to the fact that multiple clients were instantiated over
the same tranposrt. Now SafeThriftClient locks over the transport.
Also fixed a bug where some exceptions where uncaught in
SafeThriftClient.

Change-Id: I841ef64e64c28fc78016a0e0dc33e59052cd983e
2016-05-12 12:33:20 -07:00
Carmelo Cascone
f8cf288d75 Added ability to poll flow counters in BMv2
Also fixed few minor things here and there.

Change-Id: Ib5e6a92de46870f52510cd6fad0cef8da022bb62
2016-05-12 12:24:02 -07:00
sunish vk
c3824e8f18 ONOS-4505: Bug Fixes
Change-Id: I190b4e6b950381eef8d6fba1e3ac345ea6854e40
2016-05-11 17:13:26 +00:00
Carmelo Cascone
2bf44a41a3 Added dump of table entry ids in bmv2 protocol
Change-Id: I54534cfb2c6188c922b36a2f8eb8e5c0851bc681
2016-05-10 17:09:51 +00:00
Carmelo Cascone
b57a134cf8 Added methods to Bmv2ThriftClient to dump the device JSON config
Change-Id: I8ad334d3030f2754f9361731e4c53d446efcb663
2016-05-10 16:49:12 +00:00
Carmelo Cascone
c0fbbee80b ONOS-4420 Implemented BMv2 packet provider
Also, moved DeviceId generation logic from Bmv2DeviceProvider to
Bmv2Device.

Change-Id: I0a7af6d558d054604038a858dce67a2d287bcde3
2016-05-10 16:48:21 +00:00
Avantika-Huawei
d925da8a13 [ONOS-4165] Add C flag to LSP object
Change-Id: I92047990d5d7ba460d215490e3e905eb14405d99
2016-05-10 14:42:02 +00:00
Shashikanth VH
09792f0cf1 BGP AS number issue fixes.
Change-Id: I204fdbc4f54917448b79bba453015f64283da125
2016-05-10 12:51:13 +00:00
sunish vk
4b5ce0051d ONOS-4505: Bug Fixes
Change-Id: Ia030aa3aff9e2ad34a5e27fbe4ba088dda65bfa7
2016-05-10 04:23:44 +00:00
Carmelo Cascone
5fa651ee47 ONOS-4422 Implemented device discovery in Bmv2 device provider and other
improvements

- Added listener for hello messages received from Bmv2 devices
- Added a periodic poller task to check device reachability and port
information updates
- Avoids periodically re-connecting the device if it is already
available in the core
- Fixed minor bug in Bmv2ThriftClient

Change-Id: I416d1880773e11b2ac6fa062d8be2b8f280786fb
2016-05-09 22:41:10 +00:00
Priyanka B
bd455cafc1 [ONOS] SBI part of label flow.
Change-Id: Id3af26cbf0dd7d02febfe4c13ce6fe496641e043
2016-05-06 10:01:45 +00:00
Carmelo Cascone
e4da9096a7 ONOS-4278 Implemented BMv2 control plane server and packet-out support
Change-Id: I4d9027b232dea31d1091c980fb040ec93da9473d
2016-05-05 21:59:18 +00:00
Avantika-Huawei
56c1184e45 [ONOS-4163] Provider side changes to support stateful PCE and PCECC
Change-Id: I0a57ed1d1e505a2e94921fd5f5d92426a105ad12
2016-05-04 20:37:13 +00:00
Carmelo Cascone
37d5dbf8b6 ONOS-4118 Added synchronization and resiliency to Bmv2ThriftClient
Due to the multi-threaded nature of drivers, calls to a Bmv2ThriftClient
could result in a race condition if not properly synchronized. Also,
once open, transport session might close due to several reasons. Now the
client calls are synchronized and automatically wrapped in a try/catch
that tries to re-open the session for fixed number of times before
giving up.

Change-Id: I5dcdd5a6304406dc6d9d3a0ccf7f16cdbf3b9573
2016-05-04 17:21:32 +00:00
HIGUCHI Yuta
d8d3dd40b2 Fixing path in pom.xml
- ${project.build.directory} already points to ../target/

Change-Id: I80c72633736cd8e1892c4e0b9dd34da2923e8b7d
2016-05-03 23:40:58 +00:00
Jian Li
a78cdb217a Refactor the logic on collecting OpenFlow message statistics
Change-Id: I34c209c0ca90cb094ed5f82c96a8a43d3519b807
2016-05-03 19:03:28 +00:00