<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Dan,<br>
</p>
<p>On 3/28/19 10:28 PM, Dan Morphis wrote:</p>
<blockquote type="cite"
cite="mid:CAHwrMLfKM6Y6g6oQcfaq7jhDhia7iUWH28dxgg8kROSLqGaURA@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="gmail_quote">
<div>How many devices are you expecting? I think you'll find
load is less of an issue than you think it will be. The CPE
will (well, should) automatically retry if its unable to
communicate with the ACS.</div>
</div>
</blockquote>
<p>About 50K devices with broken implementation of ACS Discovery.
Instead of sending DHCP Inform, they send DHCP Discovery which is
a trigger for session initialization on cisco services gateway. As
a result a session is terminated. That's why I try to spread the
load in time to cut load peaks.<br>
</p>
<blockquote type="cite"
cite="mid:CAHwrMLfKM6Y6g6oQcfaq7jhDhia7iUWH28dxgg8kROSLqGaURA@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Ah, clear. That means, it doesn't make any sense to
bind this provision to a preset which executes on "2
PERIODIC". I would tag a device as soon as a "random"
value is set for the first time and skip tagged devices
later. Does it sounds reasonable? If yes, this kind of
"random" number will work for me.<br>
</p>
</div>
</blockquote>
<div>I wouldn't use tags for this. Do this in your bootstrap
provision. Then it only executed once.</div>
</div>
</div>
</blockquote>
<p>Makes sense.</p>
<blockquote type="cite"
cite="mid:CAHwrMLfKM6Y6g6oQcfaq7jhDhia7iUWH28dxgg8kROSLqGaURA@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p> </p>
<p>What if I need really random value in my provision? Any
other way?</p>
</div>
</blockquote>
<div>You would need to patch sandbox.js and expose a
"reallyRandom" function, making sure to restart the CWMP
process after you make changes.<br>
</div>
</div>
</div>
</blockquote>
<p>Will try to find a solution which doesn't require any kind of
patch to keep installation upgradeable.</p>
<p>Thanks,</p>
<p>George Chelidze</p>
<br>
</body>
</html>