494 Commits

Author SHA1 Message Date
chengfan
c58d4be8a5 [ONOS-5012] implement RESTconf server
- fix javadoc longer than 80 char limit
 - fix javadoc that missing @params
 - chain calls to StringBuilder.append()
 - combine constant strings in place

Change-Id: Ie2ef4fd4c19e955ad2d5a5584f5017a842abb790
2016-09-30 01:25:34 +00:00
Henry Yu
e20926ebaa RESTCONF Server outline
Change-Id: Id93a647b35b24c47f2828763a799b56a50113faf
2016-09-30 00:31:13 +00:00
jaegonkim
21377c5eba ONOS-5261 BGP link descriptor cannot have multiple 'MultiTopologyId TLV'
Change-Id: I07647eb90e48cdc7008a94387a820f42855b1242
2016-09-29 03:54:00 +00:00
Carmelo Cascone
9fae8d5830 Removed files that were accidentally commited to BMv2 protocol
Change-Id: Id639d0f8d1b34bd7b82f30d5af2b79ee4630d354
2016-09-27 13:16:14 +00:00
Frank Wang
2808230612 [ONOS-5286]remove update operation in the ovsdb createPort and modify qos table name
Change-Id: Id40a4ebf2e7b28fb1114ca4f73d8fc6c9eda436f
2016-09-21 15:56:42 +00:00
Brian O'Connor
bfc02ecd22 Bumping snapshot version to 1.8.0-SNAPSHOT
Change-Id: I4ca57b277d8ac814b8a10b107d995cb1cc4d499d
2016-09-16 17:41:55 +00:00
Brian O'Connor
b19fc86f82 Bumping version back to 1.7.0-SNAPSHOT
Change-Id: I1df9d0f12cd7ec7597499d41cacebdbe75899556
2016-09-16 00:12:21 -07:00
Brian O'Connor
338bc0cf19 Bumping pom versions to 1.7.0-rc2 and fixing some maven issues
Change-Id: I6169420328333d0916452aa92efbfa961d72e9c4
2016-09-16 00:11:45 -07:00
Brian O'Connor
0a4e6742b8 Copyright update
Change-Id: I534d938da3820f6fb814aed3bb4a0855fa41ddd5
2016-09-16 06:48:34 +00:00
Madan Jampani
2914e4e73c StorageService API for creating AsyncDocumentTree primitive
Change-Id: Ib7c3f19beb7b26a5b69161cf972c3c64d0be94b3
2016-09-14 19:05:18 +00:00
Jian Li
e4f12161a1 Add LispMessageEncoder and LispMessageDecoder with unit tests
Change-Id: If73a41687a9c2400de23bbde6179a63ac7f75d15
2016-09-12 17:45:49 +00:00
Konstantinos Kanonakis
1b8b559b8c Allowing message-id > 99 in NETCONF rcp-reply
Change-Id: If6fbc0c3ea432e8d33f6d790491342312333cee4
2016-09-12 17:45:06 +00:00
Charles Chan
9d7465eee9 ONOS-5259 Fix ClassCastException
Change-Id: I7956d1392f620a5bdb4800bc45bfaef1a03d8e38
2016-09-10 02:04:17 +00:00
Ray Milkey
30d1965a32 Add OF 1.3 status for reasserting master controller
Change-Id: Ibd25eb8189f67bc8a5107ea0245cfbdee24549ed
2016-09-06 12:09:46 -07:00
Avantika-Huawei
9e848e8717 Move PCE label handling from APP to protocol.
Change-Id: I26ae21b27ac2dc9ae3302030f6860e0e371c342c
2016-09-01 11:37:25 +00:00
Pier Ventre
f5d7236e14 [ONOS-5070] Adds mirroring functionality.
Changes:
- Adds mirroring behaviour;
- Adds mirroring description;
- Adds mirroring name;
- Implements for Ovsdb the mirroring;
- Adds OvsdbMirror entity;
- Adds constants related to Mirror table;
- Fix one issue related to Mirror table
- Extends OvsdbClientService introducing mirroring;
- Implements mirroring functionality in DefaulOvsdbClient;
- Support for different types of device id

Change-Id: Ie291f49b3c61b7998010f555ae11deb8c021063d
2016-08-31 16:56:50 +00:00
Jian Li
b26d350b58 Improve unit test coverage by considering MapRecord and EidRecord
Change-Id: I156d9ce8a4c3becedb188a53b6ce1b8f24a5e41b
2016-08-30 17:35:40 +00:00
Jian Li
42b3e4383c Remove recordCount and locatorCount from LISP control message class
Because recordCount or locatorCount is only used when decoding the
LISP control message received from xTR, therefore, there is no
need to provide any interface to specify this value from obj builder.

Change-Id: I380b275e6f06feb4846b84f62ebf2430ad5a9ec6
2016-08-30 17:35:30 +00:00
Jian Li
d4e6370b21 Add NotNull and Argument check during object build for LISP object
Also correct IP enumeration type into IP4.

Change-Id: Id970ee608c885826cfd2de7b5448b2bc451e079f
2016-08-30 17:31:51 +00:00
Jian Li
e4ba2a4460 Add unit tests for LISP control message serializer and deserializer
Change-Id: Id517db99635ad8e055d6581e5c0f3ac9f45f2869
2016-08-29 16:55:37 +00:00
Jian Li
76ea05796d Add unit tests for LISP address serializer and deserializer
Change-Id: I56538221f3951d18c1feb9343d87cbb46c3ed04d
2016-08-29 16:52:22 +00:00
Jian Li
edc5db1346 [ONOS-4718] Initial implementation of LISP control msg serializer
Change-Id: Ia068e1b158f05dd70839cb1020f15dc66b0142a0
2016-08-29 16:51:31 +00:00
Yuta HIGUCHI
cedd0dffd0 Disconnect switch when Device was admin removed.
Change-Id: I8d55eda686d29b43540f5467739983564afde5af
2016-08-23 11:44:13 -07:00
Viswanath KSP
22774cd863 Addressing review comments of patch-3
Addressing review comments of patch-2
Fixing javadoc warnings
Pushing changes for onos-5146 - Added 2 new APIs in DeviceService.java to get port specific PortStatistics by specifying Device ID & Port Number. Also implemented the APIs in SimpleDeviceStore etc. This will be a very useful API for app developers who are intersted to query port specific port statistics

Change-Id: I8f3e5a443eb5b50237a679999311b48609e54a44
2016-08-22 20:00:07 +00:00
GUNi
ba87170b5e [ONOS-4718] Initial implementation of LISP address serializer
Change-Id: I71e1923f6daf1abdf2bf9798a9e421c81926a45c
2016-08-22 18:26:37 +00:00
Jian Li
a7b394d410 [ONOS-4718] Deserialize addresses from LISP control message class
With this commit, we try to deserilize all LispAfiAddress from
all LISP control message classes.

Change-Id: Iaf911bff90c45a70859285e426dc1649c3e6db32
2016-08-22 18:20:37 +00:00
Jian Li
4eb3e3ace0 Revise comments to align protocol stack
Change-Id: If39b022398b90bcff6c2086da1bab8247f6c03ff
2016-08-22 18:14:46 +00:00
Jian Li
115d8602af [ONOS-4718] Initial implementation of LISP address deserializer
Change-Id: I522e16e7fd197380cf4c99038561fe9aa8f93730
2016-08-22 18:14:15 +00:00
Jonathan Hart
7c338a4bc6 Disabling OSPF test with external dependency.
Change-Id: Ia0ac53749ae18dfc011c02e2567a151421808dcc
2016-08-19 17:27:06 +00:00
Yuta HIGUCHI
0de4ba9401 Remove duplicate version specifications
Change-Id: I0fe6027e66815ab2e7db5e090dd5aea39b3c36e1
2016-08-18 15:59:50 +00:00
Hesam Rahimi
ecc7ce938b ONOS-5107 and ONOS-5108: fixing an issue in the GET operation implemented by REST SBI protocol
Also, changing the visibility of one of its APIs from "private" to "protected" so that it can
gets called from inherrited subclasses.

Change-Id: I195b3f4d851f8523f33031b199edc5cc7b58535d
2016-08-17 16:20:56 +00:00
Jian Li
47671905bb [ONOS-4718] Initial implementation of LISP control msg deserializer
- Add LispLocatorRecord interface along with
  DefaultLispLocatorRecord class and unit test class
- Add deserialization logic for four LISP control message classes
  and two auxiliary classes
- Add ByteOperator utility to ease the bit access and manipulation
  for byte data type

Change-Id: I68edf6877a0ebb52260296fc556e0690b795a845
2016-08-12 22:35:34 +00:00
Jian Li
26069e2d35 [ONOS-4718] Add skeleton code for de-serializing LISP ctrl messages
Change-Id: I52f7905538e5832e5282812df869b8158ce23334
2016-08-12 22:15:52 +00:00
Yuta HIGUCHI
287b9389e2 Bump netty 4.0 to latest release
- 4.0.37 seems to contain security bug-fix
  http://netty.io/news/2016/06/07/4-0-37-Final.html
  All other release notes: http://netty.io/news/

Change-Id: I820c268c0ff58527a43354927dd97ee5431d7b31
2016-08-11 23:16:11 +00:00
Jonathan Hart
bb6fb5c0e9 Remove InetAddress.getLocalHost() calls from OSPF tests.
This is an external dependency because it relies on DNS resolving localhost.

Change-Id: I1f8aa481b2173a166334c8a7bffb60647c666e12
2016-08-10 01:33:29 +00:00
Yuta HIGUCHI
8552b178e5 Let backend choose number of IO threads by default.
e.g., Netty NIO uses # cores * 2 threads.

Change-Id: I59b125aaae50fb067214d067a06a98d258726a26
2016-08-09 21:31:56 +00:00
Avantika-Huawei
fb630488ed Making ERO non-mandatory (for end of LSP DB sync msg from cisco)
Change-Id: I28e35520b5bd5737117d8c2b84f9effa3c46bfaf
2016-08-09 21:29:44 +00:00
Matteo Scandolo
c9306e46d1 Enabling UI live-reload for apps not in the ONOS source code
Change-Id: Ib88929a8825b7adf136d2b6b90d66db10549c165
2016-08-09 19:09:28 +00:00
Jian Li
e9af3b4810 Add unit test for LISP address to check obj equality & construction
This commit adds various unit tests of LISP addresses in a way to
check object equality and construction.
This commit also makes minor changes to existing LISP address
classes to allow the test cases to pass all unit tests.

Change-Id: Ice9f9634bdd243baaf1eed1539ea8d5808dda01d
2016-08-08 23:40:23 +00:00
Jian Li
8fc2d2f354 Fix: Javadoc fix for LISP related classes
Change-Id: I41365828f05b0096d0d2998cd1f19a07eadd76ec
2016-08-08 23:35:16 +00:00
Jian Li
18f3bce539 Add unit test for LISP msg to check object equality and construction
Change-Id: I5365f7654df10f4cf157c79f098c7ce26c29a300
2016-08-08 23:19:19 +00:00
Jian Li
20850d3947 [ONOS-4718] Add toString, equals, hashCode for LISP control message
Change-Id: I722ab27f50074af26ea92503aac237dec0c64bcf
2016-08-08 22:46:36 +00:00
Jian Li
525fded431 Move build method to each control msg, realize createBuilder method
Change-Id: Iff9e60cc5f929e031b0d927e0bdc08fed826e0db
2016-08-08 21:31:31 +00:00
Jian Li
79b1bb2f4d Remove solicit map request message class and interface
This control message is a special type of map request message,
therefore, it can be merged with LispMapRequest class.

Change-Id: I9549a18277411947cf4d485f62f92d8259575c94
2016-08-08 21:23:12 +00:00
Jian Li
631e62a646 [ONOS-4718] Implement DefaultLispMapRecord class with interface mod
Change-Id: I1544fd52adc4081614b5471f8ab263efbd6c840b
2016-08-08 21:15:14 +00:00
Jian Li
f59c0adb2c [ONOS-4718] Implement LISP control message classes
Change-Id: I26ab3b8da383d8967c08e14b4f11f03e0663de73
2016-08-08 21:14:53 +00:00
Jian Li
10a09066cd [ONOS-4718] Add LispMapRecord, rename EidRecord to LispEidRecord
Change-Id: Ib43ad5201787a7d9a3b18c0cd8949822d2e31e29
2016-08-08 17:57:22 +00:00
Thiago Santos
617254077c [ONOS-5069] OpenFlowControllerImpl: always cleanup on deactivate
Even if we don't have devices, the sockets/channels must be closed.

This is particularly harmful when onos is restarted to form a cluster
and the openflow channels are left open. On the next
activation it will try to open ports that were already open and it
fails

Change-Id: I768b9db0b71ffba2805fabf631adcb2039af89e4
2016-08-08 17:21:33 +00:00
Pier Ventre
bee9de83e5 [ONOS-5036] Revise Mirror table in OVSDB protocol
Change-Id: I99f5151a7a7abe7c79aec88020b1b9c63337c052
2016-08-04 17:37:40 +00:00
Ray Milkey
bb23e0b5fb Fix Javadoc warnings
Change-Id: Icf8b6b6f77ea80d3975aa975226a178145067adf
2016-08-03 14:29:51 -07:00