Application Delivery Management

Parameters-source construct

Using the parameters-source construct, you can control how the imported parameters appear on the GUI while creating a configuration pack. The following is an example StyleBook to describe this construct:

parameters:
  -
    name: appname
    label: "LBVserver Name"
    description: "Name of the Load Balancer"
    type: string
    required: true
  -
   parameters-source: stlb::lb
  -
    name: vip-ipaddress
    label: "Load Balancer IP Address"
    description: "IP Address of the Load Balancer VIP"
    type: ipaddress
    required: true
<!--NeedCopy-->

In this example, the parameters-source construct is added in the parameters section. The parameters-source contains a value equivalent to a list item in the parameters-default-sources section. With parameters-source, you can import parameters from different StyleBooks in the desired positions and render them on the GUI. Whereas the parameters-default-sources section imports the attributes and only renders at the beginning of the GUI.

Parameters-source construct

In this article