Adding application network
In the YAML file, each application network is configured as a separate
network
entry under the application_network
section.
default_gateway
is set to true
on only
one network entry and is set to false
for all others.About this task
- An new application network can be configured by adding a network cable as a subnet with a strict
VLAN and adding an
external_link
entry with the VLAN to theswitches > hosts > Fabsw1a
section of the YAML. - A new VLAN can be added to the existing network cable and the VLAN needs to be added to an
existing
external_link
entry in theswitches > hosts > Fabsw1a
section of the YAML. This entry would require strict VLAN. - A new cable can be added that does not have strict VLAN and uses the default VLAN (4080).
networkX
entry to the application_network
section as well.The three options are described below:
Adding a new network subnet (new cable)
To add a new network subnet (new cable), you need to add an
external_link
entry to the switch
section.
In this case, the switch ports, VKAN numbers, and link name should be unique to the new
external_link
. All other values will need to be filled in based on the customer's
network design.
Before you begin
- default_gateway
- true or false; only one network can have this set to true.
- switch_ports
- Switch port list. The ports must be unique across all links in the system.
- vlans
- VLAN list - The VLAN numbers must be unique across all links in the system.
If you are using default VLANs, this list should include values that have not been used in the sequence starting at 4080. For example, if another link is using 4080 and 4081, you should choose 4082 here.
If you are using customer-specific VLANs, make sure they are unique across all links.
- port_config
-
- MTU
- link speed
- name
- Link name : the link name must be unique across all links and have a name of
hX
where X is the next unused number in sequence (first link name would beh0
) - strict_vlan
true
orfalse
- If you are using default VLANs, set this to false. If you are using customer-specified VLANs, set this to true.- lacp_link
- true or false - If there is only one switch port and only one switch,
lacp_link: false
. Otherwise (multiple switch ports or multiple switches)lacp_link: true
- lacp_rate
fast
orslow
- The value depends on customer infrastructure.- clag_id
- This value must be unique across all links.
If you have only one switch,
clag_id: 0
.If you have multiple switches,
clag_id
will have a value that is unique in a range starting at 100.For example,
external_link1
would haveclag_id
of 100,external_link2
would haveclag_id
of 101, etc. - partner_switch
False
orFabSw1b
if you have a redundant fabric switch.
Procedure
Adding a new VLAN to an existing subnet
To add a new VLAN to an existing subnet, edit the existing external_link
entry in the switch > host > FabSw1a
section.
Before you begin
- VLAN number
Procedure
Adding a new cable that does not have strict VLAN and uses the default VLAN (4080)
When adding a new cable that uses the default VLAN, add a new
external_link
entry to the switch > host > FabSw1a
section of the
yaml.
Before you begin
- default_gateway
true
orfalse
; only one network can have this set to true.- switch port
- vlan
- Default: 4080 or 4081, etc... pick free one (next in list) If customer already has 4080, we would add 4081 if this is not filled in
- port_config
-
- MTU
- link speed
- link name
- Must be unique.
- strict_vlan
- Set to
false
. - lacp_rate
- Customer specific
- clag_id
- Must be unique.
- partner_switch
- The same as for other links -
false
orFabSw1b