NetYCE Documentation
Inventory
Design
Build
Operate
Compliance
Backups
Reports
Admin
FAQ
User guides
Reference
Downloads
Release notes
Setup
NetYCE accounts
NetYCE Documentation
Inventory
Design
Build
Operate
Compliance
Backups
Reports
Admin
FAQ
User guides
Reference
Downloads
Release notes
Setup
NetYCE accounts
This document is meant to group some examples, tricks and usage tips.
Need to find variables belonging to another from a port template.
A template example, using the Bandwidth_up value of the port-channel on the physical interface. Using the known <Chan_id> variable inside the relation: PortChannels
service-policy output PM-<[email protected]:Chan_id=<Chan_id>>
In this example the node_class name is modified using the Replace function. This is done using a regular expression.
<type> := [Replace(<node_class>, '_.*', '')]
Everything after the first _ (including the _) is removed and the value is assigned to the variable type
eg. Before: WAN_env_CPE
, after: WAN