Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config context in git repo using device_types is not mapped in nautobot #562

Closed
jlixfeld opened this issue Jun 11, 2021 · 1 comment · Fixed by #565
Closed

config context in git repo using device_types is not mapped in nautobot #562

jlixfeld opened this issue Jun 11, 2021 · 1 comment · Fixed by #565
Assignees
Labels
good first issue Great issues for newcomers! type: bug Something isn't working as expected

Comments

@jlixfeld
Copy link
Contributor

Environment

  • Python version: 3.8.2
  • Nautobot version: 1.0.2

Steps to Reproduce

  1. Configure nautobot to point to git repo supporting config_context data type.
  2. Create test.yaml, include device_type:
_metadata:
  name: "Apply Me To The Mars"
  weight: 1000
  is_active: true
  device_types:
    - model: DCS-7280CR3-32D4
  roles:
    - slug: pe
    - slug: bdr
mars:
  - 998
  1. Commit test.yaml to repo
  2. Sync repo with nautobot

Expected Behavior

Review [nautobot] Apply Me To The Mars config context in Nautobot should display all mappings configured in test.yaml

Observed Behavior

All mappings except device_types are mapped.

Reviewing the change log after the repo sync shows device_types as an empty list.

@jlixfeld jlixfeld changed the title config context in git repo using device_types is mapped in nautobot config context in git repo using device_types is not mapped in nautobot Jun 11, 2021
@glennmatthews glennmatthews added status: accepted type: bug Something isn't working as expected good first issue Great issues for newcomers! labels Jun 11, 2021
@glennmatthews
Copy link
Contributor

Thank you for the report!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Great issues for newcomers! type: bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants