build(infrahub): update file paths to match new directory structure
Refactor the .infrahub.yml configuration file to prefix all schema, menu, and object paths with the 'infrahub/' directory. This change aligns the configuration with the reorganized project structure where Infrahub resources have been moved into a dedicated subfolder.
This commit is contained in:
44
infrahub/objects/01-foundation.yml
Normal file
44
infrahub/objects/01-foundation.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
# Foundation objects: Site, Platform, Autonomous Systems
|
||||
# Must be loaded first — referenced by all subsequent files
|
||||
---
|
||||
apiVersion: infrahub.app/v1
|
||||
kind: Object
|
||||
spec:
|
||||
kind: LocationSite
|
||||
data:
|
||||
- name: dc1
|
||||
description: Primary data center
|
||||
---
|
||||
apiVersion: infrahub.app/v1
|
||||
kind: Object
|
||||
spec:
|
||||
kind: InfraPlatform
|
||||
data:
|
||||
- name: arista_eos
|
||||
description: Arista EOS
|
||||
napalm_driver: eos
|
||||
netmiko_device_type: arista_eos
|
||||
---
|
||||
apiVersion: infrahub.app/v1
|
||||
kind: Object
|
||||
spec:
|
||||
kind: InfraAutonomousSystem
|
||||
data:
|
||||
- asn: 64999
|
||||
description: Router for VRF gold external peering
|
||||
as_type: private
|
||||
- asn: 65000
|
||||
description: Spine AS
|
||||
as_type: private
|
||||
- asn: 65001
|
||||
description: Leaf pair 1 (leaf1/leaf2)
|
||||
as_type: private
|
||||
- asn: 65002
|
||||
description: Leaf pair 2 (leaf3/leaf4)
|
||||
as_type: private
|
||||
- asn: 65003
|
||||
description: Leaf pair 3 (leaf5/leaf6)
|
||||
as_type: private
|
||||
- asn: 65004
|
||||
description: Leaf pair 4 (leaf7/leaf8)
|
||||
as_type: private
|
||||
Reference in New Issue
Block a user