<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Ralf,<br>
<br>
On 11/18/2014 10:45 AM, Ralf Schlatterbeck wrote:<br>
</div>
<blockquote cite="mid:20141118094513.GB4731@runtux.com" type="cite">
<pre wrap="">On Sat, Nov 15, 2014 at 02:34:50PM +0100, Nemesis wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
The *"device"* attribute in a wireless interface points to elements in
"*physical_devices*".
<a class="moz-txt-link-freetext" href="https://github.com/interop-dev/network-device-schema/blob/7f746588df4f70429dafbb0df80775dbe73b531b/network-device-configuration-example.json#L26">https://github.com/interop-dev/network-device-schema/blob/7f746588df4f70429dafbb0df80775dbe73b531b/network-device-configuration-example.json#L26</a>
is it ok to call the attribute "device"? Or should we call it
"physical_device"?
</pre>
</blockquote>
<pre wrap="">
Yet another proposal: I'd use net_device (or network_device following
Mitar's suggestion on more verbose names).
[In our schema we also model Antennas, and both, 'Net_Device' and
'Antenna' have 'Device' as common ancestor... it makes sense to model
common attributes like manufacturer...]
</pre>
</blockquote>
<br>
"physical_devices" would be related to the information you can get
with the command: iw phy<br>
this terminology it is referenced also on <b>wireless.kernel.org</b>:<br>
<br>
<i>"</i>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<i>The <devname> and <phyname> fields represent the
virtual interface (devname) and physical device (phyname).
<devname> is often wlan0, wlan1, etc, while <phyname>
is phy0, phy1, etc."</i><i><br>
</i><a class="moz-txt-link-freetext" href="http://wireless.kernel.org/en/users/Documentation/iw/vif/">http://wireless.kernel.org/en/users/Documentation/iw/vif/</a><br>
<br>
Ralf, after thinking about this, are you still sure about changing
the name of that section?<br>
<br>
We also model antennas in ninux (eg: dish, omni, etc), although I
think it would be better to leave antennas for a later period in
which I hope we'll have more contributors and clearer ideas.<br>
<br>
Federico<br>
</body>
</html>