528 Commits

Author SHA1 Message Date
Ray Milkey
68032db277 Remove blueprint files for 3.0 karaf CLI
Change-Id: I017db2a3c66cea8f0f7c568e5d4f3f302170936d
2018-11-01 20:39:23 +00:00
Ray Milkey
88dd7e2997 Modify test app usages of Property annotations for new OSGi implementation
Change-Id: Ie16cc4c41541f9e199c0c9e5f1338ee617097942
2018-10-25 14:10:17 +00:00
Thomas Vachuska
22ea6126e4 Removing BUCK files and other Buck-related auxiliaries.
Change-Id: I23691380efcd9bce4906695605214ed59ada0e87
2018-10-24 20:02:31 +00:00
Ray Milkey
3101df6ee6 Use new property scheme for segment routing app
Change-Id: I0e8831ac69dfeef89e89034b75f26be66cea385d
2018-10-24 02:18:43 +00:00
Ray Milkey
d542568b21 Merge branch 'master' into dev-karaf-4.2.1
Change-Id: Iec1b8947c898b0bf10db8caece0c3a064d1c63ae
2018-10-23 10:50:43 -07:00
柯志勇10068695
dc897a64d6 If path is empty but not null, The following code may be error.
Change-Id: I58a16c6a65a8cfe1786465fe8f2139bf57adda96
2018-10-19 14:53:46 +00:00
Ray Milkey
3d5d002b5a Fix indentation
Change-Id: Icb07435a7aef7a5a46d914599d832af058a361d2
2018-10-10 11:54:07 -07:00
Ray Milkey
b52acf3a13 Fixes for karaf 4.2.1 CLI annotations for segment routing app
Change-Id: Id3722bf49c37fe480ab8973c228987cc526804b3
2018-10-09 16:36:57 +00:00
Ray Milkey
df521294ce Merge remote-tracking branch 'origin/master' into merge-master
Change-Id: I4608093c4400a313b253508ac6bc8a84ecba5c7e
2018-10-04 15:13:33 -07:00
jayakumarthazhath
655b9a885f Prevent XConnect loop
Change-Id: I65c52342840ebef944a65b8c6f65a33448da59cf
2018-10-04 11:11:19 -07:00
Charles Chan
6fa516ec0e Avoid throwing NPE when SID or Loopback is not configured
Change-Id: I577f21c53d42b27c7cf0bcd8d80817558b00ebf6
2018-10-03 19:25:20 +00:00
Ray Milkey
7a2dee599c [WIP] Add @Service tags to all commands and completers
Change-Id: I8d6ae6185ada30a92481ddb7b603af323656dc3a
2018-09-28 11:21:57 -07:00
Ray Milkey
86ad7bb5e7 [WIP] apps CLI changes for karaf upgrade
Change-Id: I283efc39c7d4f4b31344f1d2d0cdd2b98a60932d
2018-09-28 11:21:43 -07:00
Ray Milkey
d84f89ba3d [WIP] Upgrade ONOS to karaf version 4.2.1
Change-Id: I7cd40c995bdf1c80f94b1895fb3344e32404c7fa
2018-09-28 11:20:57 -07:00
Charles Chan
3e56d9fdbd Fix serialization issue
Change-Id: Ie2cc832e59018977066dc3d7fbfec2819a9c5fb2
2018-09-22 00:05:48 +00:00
Charles Chan
a17b3a14f3 Implement CLI for black hole routes
Change-Id: I9bb2aa8641b780cf90dd8a0aefdc57169c02186f
(cherry picked from commit feadacb580e7d2c325453b3afe474049d27d11d8)
2018-09-16 22:16:52 +00:00
Charles Chan
9d7db8a6cb App should not care about table transition
Change-Id: I466ca9e7b7f54a18f7e2937ed98e291081583a64
2018-09-05 17:34:05 +00:00
Charles Chan
67ef2553d4 Pass metadata in the remove_from_existing operation, just like the add_to_existing case
Change-Id: I398296bf6357ac7ee7ec4344c025604e1904ccc6
2018-09-05 09:39:20 -07:00
Charles Chan
c76685fde2 Shorten the polling frequency and offset the flows and groups polling
In order to speed up the convergence of pending flows and groups

Change-Id: I9daea68e1619b17ad8c0af4a289ec12afafbfdf7
2018-09-05 09:39:08 -07:00
Charles Chan
7040b698e8 Ignore DEVICE_ADDED event while availability is false
For p4 devices, the device will be added but unavailable at the beginning.
The device will later on being marked as available once the pipeline is pushed
to the device.

Change-Id: I186ddfbf34cfc1e80493248a123bd2931e7c6729
2018-08-31 00:33:31 +00:00
Charles Chan
55b806fd54 Remove NextId from internal stores when the NextObj fails
Change-Id: I105d32ea3a2278254edd8746d41552c2c4a699fa
2018-08-30 21:46:00 +00:00
Charles Chan
d5814aab48 Implement CLI commands to view and delete SR internal stores
sr-next-dst (renamed from sr-next-hops)
sr-next-port
sr-next-vlan
sr-next-mcast (renamed from sr-mcast-next)
sr-next-pw
sr-next-xconnect
sr-next-invalidate <next-id>

Change-Id: Id5178f786bb97e26ddb86015105dd19604ac0817
2018-08-30 21:45:56 +00:00
Charles Chan
f27ef096a8 Suppress IPv6 flows when the device is not configured with IPv6
- Do not punt link local address if the device is not configured with ipv6Loopback
- Do not punt NDP and block DAD if the device is not configured with ipv6Loopback

Change-Id: Iaf36bcf9bf3c11bc199c271f1a03eb6ae448cfab
2018-08-30 13:11:38 -07:00
Charles Chan
e0260e1988 ONOS-7759 Explicitly pop VLAN while editing hash group buckets
P4 switch requires explicit pop VLAN when necessary.
This is the missing part of gerrit #19301.

Change-Id: I809a1066cbaddd05154556ad300e59883245e0f7
(cherry picked from commit cee433bc37da8536807e8a5fbbd85315b8ca95bd)
2018-08-28 04:50:03 +00:00
Yi Tseng
fe13f3e634 Fix timeout problem of fabric pipeliner
Including a workaround for ONOS-7785

Change-Id: I867161f5edf63e82c42a731a4b107ea326d4675c
2018-08-22 20:13:34 +00:00
Phaneendra Manda
9587dc99ca Cosmetic fix while creating Pseudowire config
Change-Id: I28c39d50d32cd10a3d6c716590941eb4f4508087
2018-08-22 17:57:30 +00:00
Ray Milkey
761e80a427 Remove pom files from ONOS
Change-Id: I53e2395466cba10222d638736635b11380421d98
2018-08-21 18:11:58 +00:00
Ray Milkey
312d987732 Starting snapshot 1.15.0-SNAPSHOT
Change-Id: I9239c7695f7faf6dc184a0ff54a34dedf4761b2d
2018-08-20 16:09:54 -07:00
Saurav Das
09c2c4d19b Changing the default pw transport vlan to 4090 instead of 4093.
Also adding component config options for pw transport vlan and default internal vlan.

Change-Id: I8bb48530e46db8534b825eecd9aea781fe3f0de1
2018-08-16 05:00:04 +00:00
ONOS Jenkins User
03e5521fba Starting snapshot 1.14.0-SNAPSHOT 2018-08-14 22:13:58 +00:00
ONOS Jenkins User
3594c24cb2 Tagging 1.14.0-rc2 2018-08-14 22:13:02 +00:00
ONOS Jenkins User
4e5f2d67ac Starting snapshot 1.14.0-SNAPSHOT 2018-08-13 23:16:37 +00:00
ONOS Jenkins User
cff0bd8922 Tagging 1.14.0-rc1 2018-08-13 23:15:43 +00:00
Charles Chan
69b7ae6414 [ONOS-7759] Explicitly pop VLAN when a transport VLAN is not required on a spine
Change-Id: I656fcdc0077557bd9d843b3fe29fb003efafc03d
2018-08-13 17:03:47 +00:00
Ray Milkey
4867af2f9c Revert "Tagging 1.14.0-b1"
This reverts commit 78ce40093ac008fd6d169ab83d2d5961f91f6e31.

Change-Id: I8482f550c30f75d65333f6be9c9115a930abc56f
2018-08-10 16:53:10 -07:00
Carmelo Cascone
4164436785 More p4runtime-related bazel build files
Change-Id: Icdd02a06d7905e4cd0a6c61d282fd522c7b75fe7
2018-08-10 18:42:44 +00:00
Ray Milkey
78ce40093a Tagging 1.14.0-b1 2018-08-10 11:16:44 -07:00
Charles Chan
168111e81c Move device event handling to another thread in XconnectManager
Change-Id: I72f4f4e5d285fa928bb682714369019fc0be38fa
2018-08-08 04:56:25 +00:00
Charles Chan
b67dfdd75d Clarify log messages
Change-Id: I82e10496d1ff48143ed7391ea2ca6d92f501a4f4
2018-07-25 21:52:22 +00:00
Charles Chan
57465d34c0 Implement component config to enable double tagged host programming
Change-Id: I4b2c113e5ddcfe23f825fb15d053cc2ee48ee9e1
2018-07-25 21:52:22 +00:00
Charles Chan
f82d155bd6 Verify unchanged host location when host is moved
When a dual homed host moves from [1A/1, 1B/1] to [1A/2, 1B/1], it is very likely that 1B side moves as well.
A verify probe should be sent on 1B/1 to see if the host is still there.

Change-Id: Ib40dcb51e0980a642e308ee3b883dc19551317df
2018-07-25 21:52:22 +00:00
Charles Chan
05b06bc68e RouteHandler misbehaved when next hop moves from single location to dual location
sr-device-subnet was not properly maintained and the subnet was not populated
Also implement the unit test for this scenario

Change-Id: I1507ce2457588992ff8aae216339b6bd80c67acd
2018-07-25 21:52:22 +00:00
Charles Chan
f45552d34a Block pseudo wire VLAN translation
- Dune doesn't support VLAN translation in table 10. Need to revisit this with egress table
- Remove redundant setVlan action
- Implement partial unit test for PwaasUtil

Change-Id: Iabed388f6c68d8ddfc64a3302e6084c2e2aeeb44
2018-07-25 21:52:22 +00:00
Charles Chan
871d918699 Fix serialization execption
Change-Id: I59d6d45dfdd71cfd6689a4baf0ad13ce18f72055
2018-07-24 17:11:31 +00:00
Thomas Vachuska
67484d9008 Added RBAC for REST APIs.
- admin role required for POST, PUT, DELETE & PATCH
- viewer role required for all other requests
- cleaned up all web.xml files for consistency and correctness

Change-Id: I33bad5cec0fb0f4285eed84173025b0a107b5aec
2018-07-17 12:10:00 -07:00
Thomas Vachuska
970b964b41 Adding more Bazel BUILD files
- added defs for CLI and REST

Change-Id: I6ce2c5aac5fcdd265561d6aa2abba66f5556ff3a
2018-07-11 15:01:42 +00:00
Charles Chan
eded688740 Set R-bit in neighbor advertisement if replying as a router
Change-Id: Ic51140cf7ab88064df0bc87fb4d1fbc976ce7bc7
2018-07-06 11:19:50 -07:00
Charles Chan
4d63939c80 Delete prefix from sr-device-subnet when the next hop host is removed
Change-Id: I440897a531b69dd7bbe771eff69728bbff9a2513
2018-06-25 18:28:25 +00:00
Thomas Vachuska
ca0b5dfb38 Cleaning up application categories.
Change-Id: Id3c937323123b6089cedf7b31cd01151f6aca8e1
2018-06-23 04:18:30 +00:00
Charles Chan
c7b3c451c7 Implement CLI and REST API for Xconnect
Deprecate the old way of configuring Xconnect via network config

Change-Id: I5b9ac7852517c25805bcbfc0e7b3bec3a52eed9f
2018-06-21 00:20:25 +00:00