356 Commits

Author SHA1 Message Date
yoonseon
86bebed7ca [ONOS-5936] (vCore) Virtual FlowObjective Manager and Store
Changes
1. FlowObjective manager for virtual network is added
2. VirtualFlowObjective store is added
3. SimpleVirtualFlowObjectiveStore is implementation
4. Unit tests are added

Change-Id: I18ff1d440d1f85ca96fff36a33a8b67566031e2c
2017-03-09 04:45:22 +00:00
Saurav Das
b0ae6ee49e CORD-999 changes to support vlans
Major changes to the DhcpRelay app
   Bug fix to not depend on global variables that can be overwritten
   App is now vlan aware i.e. client and server can be in different vlans
   Added probing of dhcpServer to get mac/vlan instead of configuring these values
   Added optional gateway IP for cases where dhcpServer is "behind" external router
Added support in host monitor for trunk vlan configurations
Javadoc fix in Interface.java
Commented out unused log message in HostLocationProvider
Bug fix to make ALL group editing vlan aware.

Change-Id: Ib04ed6c1ef45055f771983db29724cfde24ac54b
2017-03-07 23:38:27 +00:00
Claudine Chiu
9a18f494a7 ONOS-6047 make VirtualNetworkServiceManager.ServiceKey class static + add test for VirtualNetworkManager.get
Change-Id: I531868746a2eee4b05a1cf1ec64ff104b15359da
2017-03-01 19:57:12 +00:00
yoonseon
97b9b59682 fix: Virtual flow rule and packet store
Changes.
1. Simple Packet store is declared as OSGi component
2. some description is added

Change-Id: Iaffa6786bbca5b967926b19183f45b723b8ab211
2017-03-01 19:45:59 +00:00
sangyun-han
3c3e99eaaa (vCord) Add a convenience method for providing a list of physical device
Change-Id: Ibc33ced05ee15a068e06c531240fa5cb6af16e38
2017-02-27 21:14:16 +00:00
Claudine Chiu
e7f6b91adf ONOS-6047 fix VirtualNetworkManager.get() to return existing service class
Change-Id: I6c5001793d60eecbb903475d19d783b54ba9e0da
2017-02-27 17:57:21 +00:00
Jonathan Hart
79a0abd52d Lift route config access into its own component on top of the RouteService.
Also implement isValid for route config.

Change-Id: I5f4819ffa7c0e87e83407c3c30af7cf91d63c83b
2017-02-27 17:11:41 +00:00
Jonathan Hart
c4c2d624ea Factor out createBinaryString method
Change-Id: I28366d04db29a313728bd4ef71f002737b51f008
2017-02-24 18:17:24 +00:00
Yoonseon Han
33821fb858 Fix: to register eventlisteners for virtualnetwork
Changes.
1. Virtual network service inherite listener service

Change-Id: Ie2911916b2912e3c8cbd2069e9563e1f5e2c837f
2017-02-24 16:30:12 +00:00
Michal Mach
ce774338fa [ONOS-5911] Port removal after receiving OFPR_DELETE port status reason.
Change-Id: I1f3f6c752da5f989a2d727f378e9f04fbbb71341
2017-02-23 00:24:21 +00:00
Jon Hall
8c7b06ad07 Remove unnessasry semicolons
Change-Id: I8363e54ecaf80ad0a755d997ca1b9bbae2f1fa6e
2017-02-22 23:05:51 +00:00
Claudine Chiu
93ce3e84c1 ONOS-6027 add request/cancelPackets tests to VirtualNetworkPacketManagerTest
Change-Id: Id1316a3768061bb61980a33f0e664805249eaa18
2017-02-19 15:57:49 -05:00
yoonseon
dc3210da53 [ONOS-5897] (vCore) Create Group Manager and Store
Chages.
1. Virtual Group Manager is added
2. Virtual Group Store interface is added
3. Simple Virtual Group Store is added
4. Virtual Group Manager Test cases are added

Change-Id: I6fc1fae99f5b85fd50437b396f57f78e914ad978
2017-02-17 18:50:52 +00:00
Luca Prete
670ac5dd95 Resource group to share resources between intents
Change-Id: I5bf7d4261197449924d07dabac841cf8ccbe9389
2017-02-16 21:14:05 +00:00
Ray Milkey
54a78514d2 Starting snapshot 1.10.0-SNAPSHOT
Change-Id: Icd6983be6a52293fb8a846a02d5e314c2c7aeaf0
2017-02-13 11:13:52 -08:00
Ray Milkey
57b510152e Starting snapshot 1.10-SNAPSHOT
Change-Id: I800d5d9e7f23793f5288457bca449ca382896723
2017-02-13 11:06:55 -08:00
Ray Milkey
de84cdde9a Starting snapshot 1.9.0-SNAPSHOT 2017-02-13 10:54:12 -08:00
Ray Milkey
8588c48114 Tagging 1.9.0-b3 2017-02-13 10:52:31 -08:00
Thomas Vachuska
2323596967 Added code to intent unit tests to pre-emptively unbind ID generator to avoid cascading failures.
Change-Id: I2e5aff44a90ceeaaad71d7154b79f20edab620a7
2017-02-03 11:44:15 -08:00
Jonathan Hart
6602867986 Fix NPE on DefaultVirtualPacketProvider deactivate
Change-Id: I11123ddc5db2efd2da08e74f1bd6b006ba78f063
2017-02-03 16:56:38 +00:00
Jon Hall
b84df5deb9 Bump karaf from 3.0.5 to 3.0.8
Change-Id: Ic5bc130f5110f4ff9da6ec22d066a5dd3069288d
2017-02-02 23:22:40 +00:00
yoonseon
1021932528 [ONOS-5647] (vnet SBI) Skeleton for VirtualGroupProvider object.
Changes.
1. Default Virtual Group Provider is added

Change-Id: I08aaa1c94d514520eea9d627449d4638b5585715
2017-02-01 23:58:09 +00:00
yoonseon
fb4a1db6d1 [ONOS-5924] fix for Cbench test regression
Change-Id: I85c4f3a36510b48df59ebfe1b9caa3164b0ccdab
2017-02-01 01:02:16 +00:00
Charles Chan
bae2cb2a18 Implement vlan-untagged, vlan-tagged, vlan-native in interface config
Existing vlan config is ambiguous and different apps could have different interpretation.
In this commit, we introduce three more vlan configs and hope this will eventually replace the original one.

Change-Id: If8dd985cc3a420601073797eb617ffd1adf90d1d
2017-01-31 21:23:04 +00:00
yoonseon
4994c3dc8b Fix: stc setup fail due to virtual packet provider
Change-Id: If8c8370f25beff8a175913f7382083108e77c5d1
2017-01-27 13:08:14 -08:00
yoonseon
736a73bff4 fix: virtual packet provider test
Change-Id: I03d7ac079a99be5c193f757c2d024f5e97c3a18d
2017-01-26 14:27:48 -08:00
yoonseon
322c9c3520 [ONOS-5731] Implement skeleton of VirtualNetworkPacketManager
Changes
1. Added VirtualNetworkPacketManager
2. Added VirtualNetworkPacketStore interface and impl class
3. Added VirtualPacketStore impl
4. Simple test cases are added

Todo
1. More test cases

Change-Id: I86f0484a9ee038dab8716703f0e5e41cbcf30cb1
2017-01-26 20:22:09 +00:00
yoonseon
5a51ef7ffc [ONOS-5571] Implementating skeleton for VirtualPacket Provider
Changes.
1. The initial implementation of VirtualPacket Provdier.
2. VirtualPacketContext is added working as a connection point
   between VirtualPacketContext and (Physical)PacketContext.
3. Simple test code is added

Change-Id: I46ecbae21e146b865ee3bda1165b5076fb19eadd
2017-01-26 11:53:01 -08:00
Yuta HIGUCHI
a0557a23d8 Restructure ProtoBuf & gRPC project structure
- pom.xml {protobuf, grpc}-dependencies to consolidte
  plugin configuration, dependency version property

- {protobuf, grpc}: ONOS App to load required feature/bundle

- all other atrifacts: Apps using protobuf/grpc inherit
  ~-dependencies above to reduce copy & paste configurations and
  dependency versions.

Change-Id: Ied90aff78ffddac6228d46e85e01d035eec37bee
2017-01-26 00:58:22 +00:00
Andrea Campanella
17f9ab618d ONOS-5894 FaultManagement minor refactoring and optimizing CLI commands
Change-Id: I84fca00caaa191b511a642962caeed61a7decbd8
2017-01-25 01:41:18 +00:00
Jordi Ortiz
67546fbe50 [ONOS-5310] FullMetersAvailable
For cases in which MeterFeatures are not available but device supports Meters

Change-Id: Ie10ca85643ea35a43df1f76d92cd3931a15b32c8
2017-01-24 13:32:27 -08:00
Jordi Ortiz
21daebff4b MeterManager, check max meters before requesting a new meter
Change-Id: I5a5d55ede89bee46c6442b885fe64f231a14e165
2017-01-24 13:01:43 -08:00
Jordi Ortiz
aa8de49765 [ONOS-5599] Store meter features into MeterStore
Change-Id: I22f7366b87cad6fc706b6ff7b0ccff1a0e85ad6a
2017-01-24 12:08:25 -08:00
Yuta HIGUCHI
03c234e261 Fix master branch
Change-Id: I99e7a5296ab24fe5d8428a005adafee7d5c6b138
2017-01-23 17:21:34 -08:00
sangyun-han
8df84bc860 [ONOS-5474] (SBI) Define VirtualDeviceProvider
- add interface virtual port description
- add interface virtual device Provider/ProviderService

Change-Id: I47894d6eb50fa59c75cc7956a216f95f40c078e1
2017-01-24 00:12:12 +00:00
Yoonseon Han
c70b4e0a77 [ONOS-5487] Implementation skeleton for VirtualFlowProvider.
Changes
1. The default code is added as DefaultVirtualFlowProvider
2. EmbeddingAlgorithm interface is added
3. Simple test code is added

Change-Id: I4f86898b6c78e23909b172f75d4bafc8367cc8b7
2017-01-23 23:24:20 +00:00
Yoonseon Han
fd7024fc0c [ONOS-5501] Defining VirtualMeterProvider Interface
Changes
1. added virtual meter provider and supporting ineterfaces.

Change-Id: I9ce7e78fec61b32798303c54a09b680bbe528b70
2017-01-23 23:23:57 +00:00
Andrey Komarov
2398d960b9 Vector cost proposed to TST on 2016-07-13
First part implemented: weight interface introduced and integrated, default weight implementation added.

Change-Id: Ia46f1b44139069aa171a3c13faf168351bd7cc56
2017-01-23 17:27:20 +00:00
Pier Ventre
09f88b856d Removes leftovers of the previous patches.
Change-Id: Id1131762e94141eab472ff4a31035acc28979d43
2017-01-21 00:17:18 +00:00
Pier Luigi
a44d18acf5 Fixes NPE in route manager and activates probing.
Change-Id: I1138a5ee60d9709a100f269d03f789c76fdfcbfe
2017-01-20 16:46:55 +00:00
Ray Milkey
287b4ae810 Starting snapshot 1.9.0-SNAPSHOT 2017-01-19 15:21:17 -08:00
Ray Milkey
2557ba3375 Tagging 1.9.0-b1b 2017-01-19 15:20:17 -08:00
Jon Hall
cbd1b39f58 Sonar fixes
Rule: Use isEmpty() to check whether the collection is empty or not.

Change-Id: Ib5ab56b2263623b297db56c5cac2c2ee80e12725
2017-01-19 20:24:18 +00:00
yoonseon
bd8a93d0e3 [ONOS-5729] VirtualFlowRuleStore implementation
Changes
1. VirtualStore and AbstractVirtualStore are defined
2. SimpleFlowRuleStore is added
3. FlowRuleStoreDeligate is implemented

Change-Id: Ic1f3d25f8a52d8c9bb6bc4de67abc0d642f47c9c
2017-01-18 22:21:32 +00:00
yoonseon
c6a6927813 [ONOS-5833] (vCore) Refactor vnet services
to enable event delivery mechanism

Changes
1. Abstact Vnet Listener Manager is added
2. Refactor Vnet services to use it

Change-Id: I178342bfc882c0739f216960358a281903e1385a
2017-01-18 22:21:11 +00:00
Saurav Das
d5ec9e992f Adding to the 'devices' cli command an output that displays the local connectivity of a device.
For example, "id=of:0000000000000203, available=true, local-status=connected 18m7s ago, role=STANDBY, ..."
Also increasing the resolution of the TimeAgo utility.

Change-Id: Ie1b89bd193552e0edd38a9ca28c5ce99b1d27c19
2017-01-17 22:41:43 +00:00
Charles Chan
143bc182fc Route store delegation fix
RouteStoreImpl should pass the delegation to the underlying LocalRouteStore or DistributedRouteStore

Change-Id: If9aebfdf9d3958da4ee820141db0e3fbf34f8261
2017-01-16 19:23:27 +00:00
Pier Luigi
65a0ab3142 Augments NRM
Changes:
- Adds useArp flag to disable the ARP handling;
- Adds requestInterceptsEnable to enable/disable the packet requests;

Change-Id: Icbd1e3b72fff5081916c66471cf527c6b7be9fab
2017-01-16 17:10:12 +00:00
yoonseon
fe7219785f [ONOS-5821] (core) Develop Virtual Event Delivery Service
Chagnes
1. Virtual event is added
2. Virtual event listener manager is added
3. Virtual listener registry manager is added
4. test cases are added

Change-Id: I4157ab299c8316595eecafc8328e99433399a80c
2017-01-12 19:56:33 +00:00
Thomas Vachuska
d832fc5074 Ignoring unit tests for deprecated vnet implementation.
Also fixing checkstyle errors from prior merge.

Change-Id: Ib85b461f37ab92fcfe15907ddad9fd8a8d24d44f
2017-01-11 13:32:04 -08:00