[ofa-general] Re: [PATCH 3/3] osm: QoS - parsing port names
Hal Rosenstock
hrosenstock at xsigo.com
Wed Oct 24 06:49:20 PDT 2007
On Mon, 2007-10-15 at 12:39 +0200, Sasha Khapyorsky wrote:
> On 10:48 Mon 15 Oct , Yevgeny Kliteynik wrote:
> > >> Switches have the NodeDescription filled by FW, and it's usually the
> > >> same string for all the switches.
> > > It must not be same. Also I suppose that node description can be changed
> > > at least for some managed switches even today.
> >
> > Come on, man...
> > How many cluster administrators that you know will actually go and set
> > NodeDescription on switches???
>
> I know at least one asked for this.
Perhaps switch_map can be used in conjunction with this like in the
diags ?
-- Hal
> > I don't want to give user an easy way to make mistakes.
> > If the user wants to include all the switches in the port group, there's an
> > easy way to do it just by saying "node-type: SWITCH".
> > If the user is so advanced that he wants to create port groups with a
> > specific
> > switches, it can be done by specifying guids.
>
> The same is true for CAs. So what is your point with "by name"
> resolution then?
>
> > >> 3. If the admin would like to include num. ranges and asterisks in the
> > >> port name, he has to make sure that the NodeDescription is created
> > >> like it is created now by openibd.
> > > Again, why this limitation is needed? What is wrong with wildcards like
> > > "myname*", "hostname[1-3] *", etc.?
> >
> > In the policy file the user specifies *port* names, not *node* names.
>
> Sure, I meant only node's component here. Have it in 'node name' + 'port
> number' form. What is easier?
>
> Sasha
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
More information about the general
mailing list