Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Issue 1058973002: Add an ONC property for disabling LCP echo (Closed)

Created:
5 years, 8 months ago by Paul Stewart
Modified:
5 years, 8 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add an ONC property for disabling LCP echo This CL maps an ONC property for disabling L2TP connection monitoring via PPP LCP frames. BUG=463602 TEST=Expanded test ONC and JSON test sets Committed: https://crrev.com/b20f791602f4064dbb96418abc64ff6fdb79379d Cr-Commit-Position: refs/heads/master@{#323943}

Patch Set 1 #

Patch Set 2 : Fixed shill_output_l2tpipsec.json #

Patch Set 3 : Typo "Enabled" instead of "Disabled" #

Total comments: 3

Patch Set 4 : Address stevenjb@'s comments #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -8 lines) Patch
M chromeos/network/onc/onc_signature.cc View 1 2 3 1 chunk +4 lines, -3 lines 2 comments Download
M chromeos/network/onc/onc_translation_tables.cc View 1 2 3 1 chunk +4 lines, -3 lines 2 comments Download
M chromeos/test/data/network/l2tpipsec_clientcert_with_cert_pems.onc View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/test/data/network/shill_l2tpipsec.json View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/test/data/network/shill_l2tpipsec_clientcert.json View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/test/data/network/shill_output_l2tpipsec.json View 1 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/test/data/network/translation_of_shill_l2tpipsec.onc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/test/data/network/valid_l2tpipsec.onc View 1 chunk +2 lines, -1 line 0 comments Download
M components/onc/onc_constants.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M components/onc/onc_constants.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1058973002/1
5 years, 8 months ago (2015-04-02 18:24:27 UTC) #2
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 8 months ago (2015-04-02 18:24:29 UTC) #4
Paul Stewart
5 years, 8 months ago (2015-04-03 23:40:16 UTC) #6
stevenjb
lgtm w/ nit https://codereview.chromium.org/1058973002/diff/40001/chromeos/network/onc/onc_signature.cc File chromeos/network/onc/onc_signature.cc (right): https://codereview.chromium.org/1058973002/diff/40001/chromeos/network/onc/onc_signature.cc#newcode100 chromeos/network/onc/onc_signature.cc:100: {::onc::vpn::kUsername, &kStringSignature}, nit: while we are ...
5 years, 8 months ago (2015-04-03 23:45:31 UTC) #7
Paul Stewart
I'll try inheriting LGTM. I've re-done chromeos unittests.
5 years, 8 months ago (2015-04-06 20:04:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1058973002/60001
5 years, 8 months ago (2015-04-06 20:05:07 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-06 21:00:36 UTC) #12
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/b20f791602f4064dbb96418abc64ff6fdb79379d Cr-Commit-Position: refs/heads/master@{#323943}
5 years, 8 months ago (2015-04-06 21:01:30 UTC) #13
pneubeck (no reviews)
https://codereview.chromium.org/1058973002/diff/60001/chromeos/network/onc/onc_signature.cc File chromeos/network/onc/onc_signature.cc (right): https://codereview.chromium.org/1058973002/diff/60001/chromeos/network/onc/onc_signature.cc#newcode99 chromeos/network/onc/onc_signature.cc:99: {::onc::l2tp::kSaveCredentials, &kBoolSignature}, because of the rename, we'll have to ...
5 years, 8 months ago (2015-04-07 09:45:20 UTC) #14
Paul Stewart
5 years, 8 months ago (2015-04-07 15:34:33 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/1058973002/diff/60001/chromeos/network/onc/on...
File chromeos/network/onc/onc_signature.cc (right):

https://codereview.chromium.org/1058973002/diff/60001/chromeos/network/onc/on...
chromeos/network/onc/onc_signature.cc:99: {::onc::l2tp::kSaveCredentials,
&kBoolSignature},
On 2015/04/07 09:45:20, pneubeck wrote:
> because of the rename, we'll have to check&update all usages of the old vpn
> fields, e.g.
>
https://code.google.com/p/chromium/codesearch#chromium/src/components/onc/onc...
> 
> which lists for example the now incorrect usage in vpn_config_view.cc:792
>
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/chr...

Acknowledged.

https://codereview.chromium.org/1058973002/diff/60001/chromeos/network/onc/on...
File chromeos/network/onc/onc_translation_tables.cc (right):

https://codereview.chromium.org/1058973002/diff/60001/chromeos/network/onc/on...
chromeos/network/onc/onc_translation_tables.cc:62:
{::onc::l2tp::kLcpEchoDisabled, shill::kL2tpIpsecLcpEchoDisabledProperty},
On 2015/04/07 09:45:20, pneubeck wrote:
> please add documentation for this field to  components/onc/docs/onc_spec.html
> 
> I didn't find any documentation for this field in Shill.

It's a little late for this CL.  See https://codereview.chromium.org/1060333003

Powered by Google App Engine
This is Rietveld 408576698