Feature #3798

Add support to include context variables from a Network used by a NIC

Added by Ruben S. Montero about 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:05/07/2015
Priority:NormalDue date:
Assignee:Tino Vázquez% Done:

100%

Category:Core & System
Target version:Release 4.14
Resolution:fixed Pull request:

Description

Currently CONTEXT attributes from a NETWORK can be referenced by name:

GATEWAY=$NETWORK[GATEWAY, NETWORK="private"]

This will use as a reference the AR of any of the NICs in the "private" Network. However, AR can redefine context attributes so it comes in handy to specify the NETWORK used by a NIC, and so select the exact AR of the NIC:

ETH2_GATEWAY=$NETWORK[GATEWAY, NIC_ID=2]

This would select the GATEWAY in the AR used of NIC 2 or the one in VNET as a fallback


Related issues

Related to Feature #3382: Context: Overriding network variables in context section Closed 11/26/2014

History

#1 Updated by Ruben S. Montero about 6 years ago

  • Related to Feature #3382: Context: Overriding network variables in context section added

#2 Updated by Ruben S. Montero about 6 years ago

  • Assignee changed from Ruben S. Montero to Tino Vázquez

#3 Updated by Tino Vázquez about 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

Also available in: Atom PDF