Skip to content
  • Leigh B. Stoller's avatar
    Increase flexibility in event subscription. You can now specify a · 2938132c
    Leigh B. Stoller authored
    comma (or space) delimited list of tags for each member of the address
    tuple. So, if you wanted to subscribe to LINK and TIME events, you
    would set the address tuple like this:
    
    	tuple->objtype   = "TRAFGEN,TIME";
    
    and the subscription clause that would be passed to elvin would look
    something like this:
    
    	( OBJTYPE == "TRAFGEN" || OBJTYPE == "TIME" )
    
    This should make it easier to subscribe to multiple types of events,
    without having to get all of them. For example, the trafgen agent
    could subscribe to TIME events and get the TIME START event that is
    now sent once all nodes report ISUP
    2938132c