1270 Commits

Author SHA1 Message Date
Sho SHIMIZU
e5524561f4 Fix Javadoc warnings
Change-Id: If6ced93d6fc91c1b6fc8381b26fde9434de6d7c8
2015-11-24 14:41:20 -08:00
Sho SHIMIZU
03d4253f20 Avoid double wrap of IndexedLambda
Change-Id: I2acaa255529949e8443542904df465e6b0fbb72a
2015-11-24 20:10:39 +00:00
Michele Santuari
02e47a4dc2 encapsulation constraint related to ONOS-3445
Change-Id: I5f7d912e34c343703108e0cb95c4ea94290663a8
2015-11-24 19:51:10 +00:00
alshabib
880b6445f2 decoupling extension types from of protocol
numbers renaming extension instruction to
extension treatment

Change-Id: Ie949d6235c2a5a984f7c7867262f8336721f1ee7
2015-11-24 19:42:43 +00:00
Rimon Ashkenazy
e2410ff01c [Emu] Register ODU TributarySlots on OCH ports
Change-Id: Iff6010259485f2402f1b645de8f83af5627bee3c
2015-11-24 17:12:38 +00:00
Sho SHIMIZU
a88db496d5 Avoid double wrap of Bandwidth class
Change-Id: I6bb95beafd55364499df64429c0788153a0b1624
2015-11-23 23:57:09 +00:00
Sho SHIMIZU
69dc584a4a Fix the issue of ONOS-3423
Change-Id: I60c3105149f6ef46e2effb7de6d8f40152027ec7
2015-11-20 16:31:12 -08:00
Brian O'Connor
e1c343ed1f Fixing errant import that snuck in
Change-Id: I493c013d5657c189691ee740ce5114d392891c5e
2015-11-20 12:44:05 -08:00
Brian O'Connor
63ff35ab49 Temporarily commenting out the device and link resource service listeners
There was bug introduced with a refactoring in commit:
c9546a3646423a92254708fb00a155669a8a1b2a

The code was refactored again in this commit:
60ac58efe977e2d8822657c013e724523cae32ac

Change-Id: I6c96dc1b9e0632865ae6742ed596624f7ed3d623
2015-11-20 12:39:35 -08:00
Sho SHIMIZU
60ac58efe9 Add sub-types to distinguish type of resources
Change-Id: Ia43cbf4a13937c9bd9dbc97221062ef5fa3e578f
2015-11-20 07:54:39 +00:00
Aaron Kruglikov
66cf0b9e9f Modifying eventually consistent map and tests to make use of the persistence service.
Change-Id: I44ffcabb9d765a1c70c2790366c6d7381416dac6
2015-11-20 03:58:44 +00:00
Sho SHIMIZU
c9546a3646 Refactor ResourcePath internal implementation
Change-Id: Idb3aa467b4d0e8181adf0d1766812a038b5408ac
2015-11-19 22:34:20 +00:00
BitOhenry
08c7294c6f [ONOS-3391] create arp_spa selector to onos
Change-Id: I2508a3ca7acb95b9792f0b23e085074a5b030a3b
2015-11-19 21:26:27 +00:00
HIGUCHI Yuta
703a5af90f equals for {Device,Port,Link,Host}Description
Change-Id: Ia69a469ed7b3ef183e45b3fb4d110edcbb4f3aad
2015-11-19 17:52:22 +00:00
Thomas Vachuska
ce0bbb3f62 ONOS-3387 Adding ability for network configurations to be validated before being accepted into the system.
Change-Id: I26a7e2adb20318cf17a35081ff753b3448105e31
2015-11-19 08:30:31 -08:00
Charles Chan
33f28a96f7 Carry previous host subject in HostEvent
This is an enhanced version of gerrit 6085 that provides not only the old location
but also the entire old host subject.
The main purpose is allowing apps to be aware of the change of IP address as well

Change-Id: I448d73b0d1e705996259cb0ec777f959f485d9c2
2015-11-18 18:17:44 +00:00
lishuai
6c56f5e977 [ONOS-2831] Refactor L2 code according to the L3 plan.
Change-Id: Ibc9dc47a18208b9b1602261064a33bc63b131fc3
2015-11-17 19:07:03 +00:00
BitOhenry
b2f8e8122a [ONOS-3376] Create arp_tpa selector to onos
Change-Id: I4b40b5cd3862d470db8d12e7f6098f36777f982a
2015-11-17 19:21:22 +08:00
BitOhenry
e330cf009f [ONOS-3374] Create arp_sha selector to onos
Change-Id: I82f29e24c5fe57d3e23e4e41a6e86c165456e901
2015-11-17 19:01:06 +08:00
BitOhenry
914c7ad302 [ONOS-3363] Create arp_tha selector to onos
modified:   core/api/src/main/java/org/onosproject/net/flow/DefaultTrafficSelector.java
	modified:   core/api/src/main/java/org/onosproject/net/flow/TrafficSelector.java

Change-Id: Id97469c133e0c10e44cda385dabb7c4ecca4af2b
2015-11-16 17:42:42 +00:00
BitOhenry
b53ac6cdbb [ONOS-3361] Add nicira extension of resubmit instruction to onos
modified:   core/api/src/main/java/org/onosproject/net/flow/instructions/ExtensionType.java
	modified:   drivers/src/main/java/org/onosproject/driver/extensions/NiciraExtensionInterpreter.java
	new file:   drivers/src/main/java/org/onosproject/driver/extensions/NiciraResubmit.java

Change-Id: Ib0a4a7b6360dd1629d0d2f74ef0d56f2c2a91a20
2015-11-16 17:22:33 +00:00
Jonathan Hart
d9df7bd278 Fix naming convention issues in preparation for stricter checkstyle enforcement
Change-Id: I918b7b1dcf6424a526b6b26b89acc9a57d807fec
2015-11-13 16:28:02 -08:00
BitOhenry
cc024ebd7e [ONOS-3273] Add arp_sha or arp_tha Criteria to onos
new file:   core/api/src/main/java/org/onosproject/net/flow/criteria/ArpHaCriterion.java
	modified:   core/api/src/main/java/org/onosproject/net/flow/criteria/Criteria.java

Change-Id: I4a7aa2e0de720aab7f49363a1f28ca93bf36d067
2015-11-13 18:59:42 +00:00
ilhem fajjari
b0a0684b43 add key parameter to PathIntent and MplsPathIntent constructors
Change-Id: I157c1e3e10dc3e3ebc1dbc6f9a1c9fe769337ee3
2015-11-13 18:51:09 +00:00
HIGUCHI Yuta
14c0436b3f Reversible String representation for PortNumber
Change-Id: I2b5f45bd0652ef7fdcacfac64248e299dda10785
2015-11-13 05:36:39 +00:00
Thomas Vachuska
761f0040f3 ONOS-1684 Added support for app dependencies.
Change-Id: Iae318c24c3c9bd43d84318c79ac420fc85d5d599
2015-11-12 21:37:58 +00:00
Charles Chan
ec0425c18c Carry previous location information in HostEvent
Change-Id: I06957d368a8a547cc3adb36bce4aaf96c432f4c8
2015-11-11 12:09:38 -08:00
Sho SHIMIZU
7326188f3f Fix grammatical errors
Change-Id: I0bade79fc8c1ca528785732a2340d28f500830e5
2015-11-11 02:57:48 +00:00
Saurav Das
4f98008c10 CORD-48 Added support for broadcast next objective in OFDPA driver.
Changed groupid to show in hex for cli command 'groups'

Change-Id: I86474912a9fd775c36d5bc49545eaa58ecc46b47
2015-11-06 23:41:10 +00:00
Sho SHIMIZU
364cbacee8 Make the old resource APIs deprecated
Change-Id: Ib3158f3f363c928353f6ef82aac98a8e4e589953
2015-11-06 23:39:06 +00:00
Sho SHIMIZU
fa62b475da Implement event notification of resource event
When a resource is registered or unregistered, a resource event is notified

Change-Id: I40e66761966ef2126366424a14bb3193fc850e5a
2015-11-06 11:25:37 -08:00
HIGUCHI Yuta
ca9cc8e28e Avoid use of Objects.hash when there's only 1 params
- directly call #hashCode() when hashed Object seems non-null
- replace with Objects.hashCode(Object) when Nullable
- replace with Long.hashCode(long), etc. when primitive

Change-Id: I08c24ebbe94cf4162d1491209a14baf953163e41
2015-11-05 21:47:59 +00:00
Thomas Vachuska
c65dd7198e ONOS-3321 Added ability for applications to register a deactivation hook.
Change-Id: I284321474dbf9e39e8b61f7b907f637ba6b80aaf
2015-11-04 17:26:58 -08:00
Simon Hunt
cd1502725f ONOS-3320: PropertyPanelTest fails in non-English locale.
- Added formatter() instance method that can be overridden by unit test.

Change-Id: I38ee045edee852c95e27bead46800fb5dad4cf88
2015-11-05 00:04:57 +00:00
Steffen Gebert
ba2d3b7871 Implement OFActionEnqueue (OpenFlow 1.0 only)
Realize the QUEUE Treatment using OpenFlow 1.0 Enqueue action.

The ConnectivityIntentCommand's --setQueue parameter is extended by a notion of
<port>/<queue> to support the difference from OpenFlow 1.3 Set-Queue, which is
not bound to a port.

Change-Id: I28cf70a7c004a1a3a14361e5186cfe42f09f1356
2015-11-03 22:55:40 +00:00
Sho SHIMIZU
d936b42182 Change the return type of commit() to indicate the result
Change-Id: I4658a89fb0a496baa929579ab7800d00e842d685
2015-11-03 18:54:28 +00:00
Jonathan Hart
3c25916dff Generic extensions to the treatment API to support protocol extensions like
OF experimenter actions.

Change-Id: I88cc5896d17fdbf89807f911f9c23e4f19f6a5ad
2015-11-02 22:02:11 +00:00
Ray Milkey
ccda0b5dc7 Enable checkstyle rule to enforce package-info.java files
Change-Id: If837601380e4950b46ad1332bd3c20ef59cc216e
2015-10-30 17:21:08 -07:00
Sho SHIMIZU
81cdc395b7 Make MPLS label request specifiable for a particular MPLS label
Change-Id: I4626229040c61e927a468ab5c486a907af0108ae
2015-10-29 22:47:47 +00:00
Sho SHIMIZU
36163f94bb Make LinkResourceService deprecated
Change-Id: Iff92b25f51b9b1d8da4e8ed869afc51e5048d978
2015-10-29 22:47:08 +00:00
HIGUCHI Yuta
501c465c04 Add DataRateUnit to help specifying Bandwidth.
Change-Id: I2b83922d98cab5571408b920a89bb8b704934255
2015-10-29 22:39:44 +00:00
Sho SHIMIZU
4a503af8c5 Add a missing field to show it in toString()
Change-Id: Ie2d4a2c37319fe60914d8e8a270f6b420e8df06e
2015-10-29 14:45:16 -07:00
Charles Chan
c42e84e5b2 [CORD-46] Create a broadcast group for each subnet
DONE
- Expose subnet-to-ports information from DeviceProperties and DeviceConfiguration
- Create subnetNextObjectiveStore to store <DeviceId, IpPrefix> to nextId mapping
- Implement broadcast NextObjective in SpringOpenTTP
      Use ALL group type to achieve broadcast

TODO (not in this submission)
- Push ARP table for a host when its location is learned
- Push default ARP table miss rule. Action = to the broadcast group

Change-Id: I2de28095e85289e75af3fc7a02c811b270b342ad
2015-10-29 21:16:45 +00:00
Sho SHIMIZU
c25a00860a Move wavelength selection logic to OpticalConnectivityIntentCompiler
Now, LinkResourceManager doesn't have a logic to select lambda(s)

Change-Id: I008d770f4f142f3d67afa734e50bd8761a0aafd2
2015-10-29 17:09:16 +00:00
Madan Jampani
fcc49c5467 Remove mapdb dependency from core api pom
Change-Id: Idab32efc1c2f627949a8476bbbcc910323e6f8ff
2015-10-29 16:49:09 +00:00
Sho SHIMIZU
e7f4f3f1c3 Define and implement a method to query available resources
Change-Id: I49fbcdf215e402603ea15f469d41e572f1cce1c6
2015-10-29 09:01:54 -07:00
Ray Milkey
f64cf414e6 Javadoc fixes
Change-Id: I63c3f127bbe6fef94096c46a60b057d65b69a10e
2015-10-28 16:17:30 -07:00
Hyunsun Moon
aab8c67058 CORD-223 Added ovsdb driver methods for bridge and tunnel interface creation
Change-Id: Ida80a4ef5b66cebb83b2629054c68a3546526d23
2015-10-28 21:50:42 +00:00
HIGUCHI Yuta
584107a683 ONOS-3224 HostToHostIntent should have implicit non-OPTICAL constraint
Change-Id: Ibd6214e9b12199f56f0761cfdaa1eb45a600eb1c
2015-10-28 19:56:24 +00:00
Yafit Hadar
5796d97985 REST API related implemetations for ODU SIGID and SIGTYPE Fields in Flow Criteria and Instruction
Change-Id: I78ddc162409d377b8c55e7f8eedd9a91939ab277
2015-10-28 18:30:28 +00:00