Subnet-based Label Inheritance
Subnet-based label inheritance is supported. The smaller subnets and IP addresses inherit labels from larger subnets they fall under when one of the following conditions is satisfied:
-
The label is missing from the list of labels for the smaller subnet/address.
-
The label value for the smaller subnet/address is empty.
Consider the following example:
IP |
Name |
Purpose |
Environment |
Spirit-Animal |
---|---|---|---|---|
10.0.0.1 |
server-1 |
webtraffic |
production |
|
10.0.0.2 |
frog |
|||
10.0.0.3 |
eagle |
|||
10.0.0.0/24 |
web-vlan |
integration |
||
10.0.0.0/16 |
webtraffic |
badger |
||
10.0.0.0/8 |
test |
bear |
The labels for IP address 10.0.0.3 are {“name”: “web-vlan”, “purpose”: “webtraffic”, “environment”: “integra- tion”, “spirit-animal”: “eagle”}.