Chaining Config Push / Variable

Post your feature requests here
Post Reply
Arnaud.Moritz
Posts: 1
Joined: Tue Mar 29, 2022 6:14 am

Tue Mar 29, 2022 6:52 am

Hello to all,

First of all, thank you for your work.
Unless I'm mistaken, I haven't found a way to chain the "Config Push" or to specify a variable for a specific equipment in the same preset.

Example:

Code: Select all

interface ${uplink@device1}
!
interface ${uplink@device2}
I think it can be very useful.
Vik@Unimus
Posts: 123
Joined: Thu Aug 05, 2021 6:35 pm

Thu Mar 31, 2022 4:24 pm

Hello,

If I understand correctly, you are referring to accessing a different device's variable or substituting a value or a part of a value of one variable with another

Code: Select all

# this is NOT possible
var1=value
var2=some_other_${var1}
If that's the case, unfortunately, this is not possible at all as these are per-device variables, which means this is aimed to give us more flexibility with MCP presets and enabling us creating more universal presets where we can substitute key per-device unique values using variables and have a freedom to keep the rest of the commands non-specific, hence reusing it for multiple devices at once.

Let me know if I understood your idea incorrectly. In such case, give us a bit more detail as well, please.
Post Reply