<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi<font face="Helvetica,
Arial, sans-serif">,<br>
<br>
<font face="Helvetica, Arial, sans-serif">First o<font
face="Helvetica, Arial, sans-serif">f all, thank<font
face="Helvetica, Arial, sans-serif"> you all for <font
face="Helvetica, Arial, sans-serif">the feedback you are
sending.<br>
<br>
</font></font></font>I<font face="Helvetica, Arial,
sans-serif">'ve done most of the<font face="Helvetica,
Arial, sans-serif"> changes that <font face="Helvetica,
Arial, sans-serif">I needed to do after receiving your
ans<font face="Helvetica, Arial, sans-serif">wers to my
latest technical questions<font face="Helvetica,
Arial, sans-serif">.<br>
This is <font face="Helvetica, Arial, sans-serif">surely
the way to go, after receiving your<font
face="Helvetica, Arial, sans-serif"> feedback I
feel much more secure<font face="Helvetica,
Arial, sans-serif">, so <font
face="Helvetica, Arial, sans-serif">please
keep to do so!</font></font><br>
<br>
<font face="Helvetica, Arial, sans-serif">And
good new<font face="Helvetica, Arial,
sans-serif">s, hey Clauz, look at this code:<br>
<br>
<font face="Helvetica, Arial, sans-serif"><b>>>>
device =
Device.objects.get(name='RM5PomeziaSNode')</b><b><br>
</b>(0.015) SELECT "net_device"."id",
"net_device"."added",
"net_device"."updated",
"net_device"."access_level",
"net_device"."name",
"net_device"."node_id", "net_<br>
device"."type", "net_device"."status",
"net_device"."location",
"net_device"."elev", "net_device"."os",
"net_device"."os_version",
"net_device"."first_seen", "<br>
net_device"."last_seen",
"net_device"."description",
"net_device"."notes", "net_device"."data",
"net_device"."shortcuts" FROM "net_device"
WHERE "net_device"."<br>
name" = 'RM5PomeziaSNode' ;
args=('RM5PomeziaSNode',)<br>
<b>>>> device.connector.connect()</b><b><br>
</b>True<br>
<b>>>> device.connector.get_os()</b><b><br>
</b>('AirOS',
'XM.ar7240.v5.3.3.sdk.9634.111221.2238')<br>
<b>>>>
device.connector.get_wireless_output_power()</b><br>
27<br>
<b>>>>
device.connector.get_wireless_channel()</b><b><br>
</b>'5765'<br>
</font>>>> <b>device.connector.disconnect()</b><br>
<br>
<font face="Helvetica, Arial, sans-serif">I'm
slowly getting the syntactic sugar I
desire! And it's self explanatory! :)<br>
<br>
<font face="Helvetica, Arial, sans-serif">It
will<font face="Helvetica, Arial,
sans-serif"> be super cool to have a
connector<font face="Helvetica, Arial,
sans-serif">_</font>class that uses
SNMP or any other lighter pro<font
face="Helvetica, Arial, sans-serif">tocol
</font>instead of SSH.</font></font><br>
<font face="Helvetica, Arial, sans-serif">This
would <font face="Helvetica, Arial,
sans-serif">save us the <font
face="Helvetica, Arial, sans-serif">need
</font></font></font>of having to call
"connect()" and "disconnect()".<br>
<br>
<font face="Helvetica, Arial, sans-serif">Federico</font><br>
</font><font face="Helvetica, Arial,
sans-serif"></font></font></font></font></font></font></font></font></font></font></font></font></font>
</body>
</html>