[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #UKJ-478572]: REQUEST entries help



Brad,

> Is there a way to request anything other than a specific pattern, for
> example if we want everything other than SUD4[5-9] from the IDS|DDPLUS
> feed from cpsbn1
> 
> REQUEST from IDS|DDPLUS everything but "SDUS4[5-9].*" from upstream host
> cpsbn1

Unfortunately, neither the regular-expression library that the LDM uses nor the 
FEEDME LDM protocol message supports the concept of "everything but".

You could use the regular-expression 
"^([^S]|S([^D]|(D([^U]|U([^S]|S([^4]|4[^5-9]))))))". I believe that will do 
what you want. A cheat-sheet for the extended regular-expression syntax used by 
the LDM can be found at 
<http://www.unidata.ucar.edu/software/ldm/ldm-current/basics/ERE.html>.

Alternatively, you could set the value of the "OK and "not" fields in the 
relevant ALLOW entry of the LDM configuration-file on "cpsbn1" to the 
regular-expressions ".*" and "SDUS4[5-9]", respectively. This will allow you to 
request ".*" from host "cpsbn1".

I hope this helps.

> ________________________________________________________________________
> 
> Bradley M. Scalio, RHCE RHCSS
> Principal Engineer w/Honors
> Raytheon MOS - AWIPS Program
> 
> (p) 301-495-2277
> (c) 301-830-0207

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: UKJ-478572
Department: Support LDM
Priority: Normal
Status: Closed