Project

General

Profile

Actions

Feature #3290

open
VJ OD

use config vars everywhere

Feature #3290: use config vars everywhere

Added by Victor Julien over 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Low
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

The address and port vars are currently limited to specific uses. E.g. port vars can be in rules and in the vxlan config.

Maybe it would make sense to take a much simpler approach. Treat the vars more like macros in C, where the cpp simply replaces the macros with their value before the compiler compiles it.

JI Updated by Jason Ish over 6 years ago Actions #1

Victor Julien wrote:

Maybe it would make sense to take a much simpler approach. Treat the vars more like macros in C, where the cpp simply replaces the macros with their value before the compiler compiles it.

I 100% agree. So just a simpler vars section maybe?

vars:
  FILE_DATA_PORTS: "[$HTTP_PORTS,110,143]" 

(of course keeping support for the "groups" we already have).

VJ Updated by Victor Julien over 6 years ago Actions #2

  • Assignee set to OISF Dev
  • Target version set to 6.0.0beta1

Yeah I think this makes sense.

JI Updated by Jason Ish about 6 years ago Actions #3

  • Priority changed from Normal to Low

VJ Updated by Victor Julien almost 6 years ago Actions #4

  • Target version changed from 6.0.0beta1 to 7.0.0-beta1

VJ Updated by Victor Julien over 5 years ago Actions #5

  • Target version changed from 7.0.0-beta1 to TBD
Actions

Also available in: PDF Atom