Skip to content

Ability to apply parent platform config context values to device in children platforms #20639

@Alex-Ignatov

Description

@Alex-Ignatov

NetBox version

v4.4.2

Feature type

Change to existing functionality

Proposed functionality

Config contexts can use Platforms as conditions to apply given context to a particular device. With introduction of parent field for the platforms I believe it would be beneficial for Config Contexts to apply data to device based on parent as well and not just a child.

Currently, only if device is assigned to exactly that specific platform config contexts would be applied, but we have following platform hierarchy:

  • SROS:
    • SROS-21
    • SROS-24

Config contexts defined for parent SROS will be rendered/applied for devices that have platforms SROS-21 and SROS-24.

Use case

This will remove duplication of values between children platforms, that could have been defined at parent level.

Database changes

N/A

External dependencies

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeThis change modifies or removes some previously documented functionalitycomplexity: lowRequires minimal effort to implementstatus: backlogAwaiting selection for worktype: featureIntroduction of new functionality to the application

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions