<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>So, I started a bit of a thing here, eh? :D</p>
<p>So my thought is as follows. I'm going to re-write the tunnel
config tool soon(ish) and will focus on the existing Cisco bits
for the GRE mesh but when I was configuring your router I saw the
options for GRE and I thought to myself wouldn't it be neat if I
could auto-configure pydecnet as well.</p>
<p>The only thing I'd really do is create/update/delete circuits
(doesn't even need to be GRE specific circuits, I'd be able to
configure any kind!). Being able to do so from external to the
machine pydecnet is running on would be a bit more flexible. Worst
case my new architecture plan has an agent that can run anywhere
so it's reasonable for me to be able to just manage config files
and process restart from the agent.</p>
<p>As far as re-config goes if the API would allow me to alter
circuit configs (how it stores them is up to it) and just do a
full router reload that's basically what I'll be forced to do
anyway if I can't use an API to do it.<br>
</p>
<p>I'll put together an arch diagram for what I have in mind and
we'll look into it.</p>
<p>-brian</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 17/11/21 16:50, Paul Koning wrote:<br>
</div>
<blockquote type="cite"
cite="mid:B34CB3F1-7E35-4822-8774-60E347341E69@comcast.net">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Not at the moment, and it's a large change to the design to allow
configuration to change at runtime.
<div class=""><br class="">
</div>
<div class="">I have done a bit of work to allow "change" type
NICE requests, starting with the "zero counters" request. That
isn't done yet.</div>
<div class=""><br class="">
</div>
<div class="">A specific change that should be small and
straightforward is updating the list of node name/address pairs.
I'm thinking of doing that in the network mapper, since it
already fetches the current list from MIM. Right now that
updates the mapper data but not the main DECnet node list. Once
it does that, you'd be able to do the NCP "copy from 28NH"
request for NCPs that implement that, or an equivalent script,
to get the current database.</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>paul<br
class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Nov 17, 2021, at 11:42 AM, Brian Hechinger
<<a href="mailto:wonko@4amlunch.net"
class="moz-txt-link-freetext" moz-do-not-send="true">wonko@4amlunch.net</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" class="">
<div class="">
<p class="">Speaking of the API, would it be possible to
configure pydecnet via the API?</p>
<p class="">-brian<br class="">
</p>
<div class="moz-cite-prefix">On 17/11/21 14:54, Paul
Koning wrote:<br class="">
</div>
<blockquote type="cite"
cite="mid:28536F5D-AAAE-4717-A0C5-4B149ECFD749@comcast.net"
class="">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" class="">
BTW, I'm still trying to figure out how best to
construct the API. What's there now seems clumsy.
The existing network application API (see
decnet/application/mirror.py) feels more like what I
want, but I need to go back and see how best to work
that for requests initiated from the outside, as
opposed to subprocesses started from PyDECnet.
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>paul<br
class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Nov 17, 2021, at 9:44 AM, Brian
Hechinger <<a
href="mailto:wonko@4amlunch.net"
class="moz-txt-link-freetext"
moz-do-not-send="true">wonko@4amlunch.net</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8" class="">
<div class="">
<p class="">Read documentation? Heathen. :-P</p>
<p class="">Got a systemd unit file written
for it and it's up and running for good
now. Woo!</p>
<p class="">Now to figure out what I can do
with the API.<br class="">
</p>
<p class="">-brian</p>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
</body>
</html>