Introduce Default Attribute

Registered by Ivar Lazzaro

Today, we use the implicit driver to implicitly create some resources that may be "missing" from an object chain. For example, we create an implicit L3 Policy whenever a L2 Policy is created without a l3p_id specified.

Although this is very powerful, it lacks in dynamism and flexibility since the System Administrator needs to configure the default values for the explicit objects in a config file, and they affect all the tenants.

This proposal wants to add a "default" attribute to most of the GBP objects that will work together with the implicit driver in order to provide a better separation of concerns.
The admin can create a specific object (being it a L2P for example) for a specific tenant and mark it as "default". When the Tenant then creates the PTG without specifying the L2P, the relationship is formed with the one set as "default".

This allows ad hoc objects to be created for the tenant without having him to know anything about how to use them.

Only one "default" object of a specific type can exist per tenant.
When "default" is paired with "shared", the local default will always be preferred.
Only one object per type can be globally "default" and "shared"

An example of how this works with the Implicit Driver:

- Admin creates a L3P for TenantA and mark it as "default". This L3P will have a number of customizations for that tenant! like a specific external segments or groups.

- TenantA creates the EPG and doesn't specify anything in the l2p_id field. The implicit driver will create the L2P for him (one per PTG). The newly created L2P will use the "default" L3P instead of the implicitly created one (which would be normally used without the introduction of the "shared" attribute).

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Ivar Lazzaro
Direction:
Needs approval
Assignee:
Ivar Lazzaro
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.