224 Commits

Author SHA1 Message Date
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
HIGUCHI Yuta
dc5cf8af07 Explicitly log when disconnecting a switch.
Change-Id: Ie52db282ce6856705e32175558630d37b7f93336
2016-05-02 16:17:24 +00:00
chidambar babu
344dc81566 ONOS-4086 to ONOS-4091, ONOS-4098 to ONOS-4100:JUNIT for ISIS controller
Change-Id: If3501a55fcbf994cd69facfd97f43b4a4f0f7812
2016-05-02 16:16:12 +00: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
Andrea Campanella
3556f36ac5 Modifying preDeactivate hook in OFControllerImpl to remove double deactivation causing NPE.
The preDeactivate is needed to clean up connections when the app is deactivated but needs
to be called also when the component goes down.
If the two,app and component, go down together we should not trigger the cleaning twice.

Change-Id: I66a40297c78f995c5bcd95226efc33fb135732b3
2016-04-29 15:56:01 +00:00
Ray Milkey
61403ed21d Appify BUCK builds for drivers
Change-Id: I94a44950ce793008ff2a3b2105207a9fff9a53ed
2016-04-28 21:56:55 +00:00
Priyanka B
9bee080617 [ONOS-4171] Merge PCEP and BGP providers into common BGPCEP provider.
Change-Id: Ia87f0898e51704ce8d02d877e9f0d57219099a53
2016-04-28 20:55:12 +00:00
nicklesh adlakha
90bfa6a30c ONOS-4085, ONOS-4096, ONOS-4097: JUNIT for ISIS PDU data structures
Change-Id: If2ef21201d4d86a2f3f4b95365d41a01d8feda98
2016-04-28 20:51:58 +00:00
PRASHANTH SHIVANANJAPPA
491b8afd43 ONOS-4083,ONOS-4084:JUNIT for ISIS PDU TLV Data Structures
Change-Id: I0849d87ad1c7f9a8e08aabebd547dfd2dfde49df
2016-04-28 20:50:45 +00:00
Ray Milkey
94c3155ab8 Fix netconf tests BUCK build
Change-Id: Id213d1e84d4ded0b529bb70ee4c0105415b7aa09
2016-04-27 15:36:05 -07:00
Ray Milkey
12c1d51c93 Buckify remaining providers
Change-Id: Ide265b68d809ccea2ea8900993999bf8ae3184fc
2016-04-27 15:19:33 -07:00
Andreas Papazois
4752cfa906 [GEANT] Property netconfReplyTimeout added in Settings.
Change-Id: I60399c5cc9a00857f275fa8016520b2d909e9912
2016-04-27 15:23:20 +00:00
Shashikanth VH
1560d40b0e Ospf opaque LSA bug fix.
Change-Id: I9b2674195a754a0774013f9adf717764ea18c9a6
2016-04-27 15:19:15 +00:00
Carmelo Cascone
aa8b6297a3 Various Bmv2 protocol refactorings in preparation of the flow rule
translator (ONOS-4044)

- Added new classes for different match parameters (exact, ternary, lpm,
  valid)
- Divided api package in two sub-packages, model (previously under
  drivers) and runtime (old api package)
- Improved Bmv2ThriftClient caching and table entry handling

Change-Id: I23c174cf3e8f9f6ecddb99c2d09dc531e8f1c73f
2016-04-26 11:46:30 -07:00
Carmelo Cascone
2ea177bb70 ONOS-3961 ONOS-4285 Implemented BMv2 drivers and protocol
Provides Thrift-based implementation for FlowRuleProgrammable and
PortDiscovery behaviours.

Change-Id: Ibbf8720d92301bcd23c5c583d156f464015ff1ef
2016-04-26 18:43:51 +00:00
Shashikanth VH
26fd38a79b [ONOS-4241]Codec for wide community and flow spec
Change-Id: I2dfd6b88c4ae14a02d258a2cdc9ee35b9ff08292
2016-04-26 16:06:30 +00:00
Ray Milkey
aeb0079719 Refactoring of provider buck builds.
Change-Id: I9b5e2566b83c13a8b7b086005a08a8182305ffdb
2016-04-25 17:03:49 +00:00
tejeshwer degala
3fe1ed5f9f ONOS-4086 to ONOS-4091, ONOS-4098 to ONOS-4100:ISIS controller implementation
Change-Id: I7be52805652fe762baf808515401d6b5042b2aa5
2016-04-25 15:49:03 +00:00
Jian Li
2266bff9e5 [ONOS-4385] Handle flow removed message type in all cases
- Do not handle packet in messages inside ControllerImpl class

Change-Id: Idcb26b277b790125bd6b3ba8f10bb4c60e2a3c58
2016-04-22 16:00:05 +00:00
Shashikanth VH
b58cfd5b34 [ONOS-4240] Support wide community optional path attribute
Change-Id: I667cf229b02c8bcb0d4defd953bcde1595d03802
2016-04-21 16:46:02 +05:30
Dhruv Dhody
e64b93ea4e ONOS-4083, ONOS-4084, ONOS-4096, ONOS-4097:ISIS PDU Data Structures
Change-Id: I22d30e8f7ba7d414e75254fdec6d0865bf471ff9
2016-04-20 15:19:07 +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
mohamed rahil
8ea09d4396 ONOS-4082:ISIS protocol API changes
Change-Id: I4cdd4a4811ec0ab0aba51d7d8085a3eac9b34b2c
2016-04-19 16:23:20 +00:00
Madan Jampani
6bcf5f2766 Lower log level to debug for openflow ssl status
Change-Id: I8a3fa7e4b302810455c979132595bebff76604d4
2016-04-18 23:11:50 +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
Priyanka B
d2b2888ad4 [ONOS-4209] Unsuccessful PCEP session formation between ONOS and IOS XR
Change-Id: Ic509c50c5cef39e5f1a5319570f8c9406177b788
2016-04-18 17:17:50 +00:00
Shashikanth VH
73b1277f31 [ONOS-4240, ONOS-4241] Support wide community optional path attribute
Change-Id: I59f9c4b69e8c26702ab955d58655497a394b9ec9
2016-04-18 15:37:00 +00:00
sunishvk
a1dfc3eeaa ONOS-4083,ONOS-4084:ISIS PDU TLV Data Structures
Change-Id: Ice0d42f2c886fa5f398b562e126614ed45f858a2
2016-04-18 15:34:49 +00:00
Shashikanth VH
b650bfa1f9 [ONOS-4242] Capability support for wide community
Change-Id: Ib29a4aeddde863d3ecf281cea8d31c6a945834bd
2016-04-18 12:54:30 +05:30
heisenberg
b7017d7c7a [ONOS-4371] Netconf client could not resolve notification message with label attributes
Change-Id: I74ca573d65baf9295a0d055efe728d1b04370173
2016-04-13 19:24:39 +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