Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Question about Subnet attribute requirement
- Date: Fri, 9 Jul 2010 09:26:24 +0800
- From: <Greg.Hitchen@xxxxxxxx>
- Subject: Re: [Condor-users] Question about Subnet attribute requirement
Hi Brandon
I have some old submit files using a similar requirements statement.
requirements = (Subnet == "130.116.144" || Subnet == "130.116.145" || Subnet == "130.116.146" || Subnet == "130.116.147")
But notice that the subnet attribute for a machine ClassAd is now of the form
Subnet = "255.255.252.0"
i.e. it seems to be subnet mask now.
(use "condor_status -l machinename | sort" to have a look at all the machine classads)
You could use regexp to achieve a similar thing by something like:
requirements = (regexp("<192.168.3", MyAddress, "i"))
I've not tested this exact expression but I think? it should work.
Cheers
Greg
-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Brandon Leeds
Sent: Friday, 9 July 2010 3:35 AM
To: Condor-Users Mail List
Subject: [Condor-users] Question about Subnet attribute requirement
Hi All,
We are experiencing a problem since our recent upgrade from 7.0.2 to
7.4.1 . Unfortunately, the construct:
Requirements = (Subnet == "192.168.3")
seems to have stopped working. (I am checking to make sure something
else hardware wise has not changed as well.) Is "Subnet" still a valid
attribute, or did the syntax on the subnet definition change in the
version jump? If anyone can point me to a manual page, I would greatly
appreciate.
Thanks,
Brandon
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/