DM: Add comments to generated configs
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Wishlist
|
Suresh Balineni |
Bug Description
Since we're somewhat limited in the amount of useful information
that can be conveyed by the names of configuration objects, it will
be useful to generate comments for the objects where applicable.
This will be useful in understanding the generated configs in case
things don't work as expected and someone needs to debug the
MX behavior.
There are 2 types of comments that can/should be generated.
The first kind conveys facts about objects. For example, the name
and UUID of the VN for a routing-instance, the name of bgp-router
for a neighbor in the bgp configuration, the name of the VN for
which a policy-statement was added etc.
The second kind describes the intent of the configuration.
A good example would be redirect_
is to take traffic destined to any address in the floating ip pool
from inet.0 and redirect it to the corresponding VRF.
Another good example would be the so-called -nat VRF whose purpose
is to implement FIB lookup for BMS that have floating IP associated
with them. Same for the service sets and nat rules used to implement
1:1 NAT.
description: | updated |
description: | updated |
description: | updated |
no longer affects: | juniperopenstack/r2.20 |
Review in progress for https:/ /review. opencontrail. org/28771
Submitter: Suresh Balineni (<email address hidden>)