diff --git a/.github/workflows/build_environment.yml b/.github/workflows/build_environment.yml index d1da003..f127208 100644 --- a/.github/workflows/build_environment.yml +++ b/.github/workflows/build_environment.yml @@ -2,12 +2,12 @@ name: Build Environment on: workflow_dispatch: - pull_request: - branches: - - main - paths: - - 'inventory/**.yml' - - 'inventory/**.yaml' + # pull_request: + # branches: + # - main + # paths: + # - 'inventory/**.yml' + # - 'inventory/**.yaml' env: CML_PASSWORD: ${{ secrets.CML_PASSWORD }} @@ -41,7 +41,7 @@ jobs: - name: Validate Data run: ansible-playbook ciscops.mdd.validate - name: Push Data - run: ansible-playbook ciscops.mdd.nso_update_oc -e dry_run=no + run: ansible-playbook ciscops.mdd.update -e dry_run=no - name: Sleep to let the network settle run: sleep 60s shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8e4ce2..b762e17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,8 @@ on: paths: - 'mdd-data/**.yml' - 'mdd-data/**.yaml' + - 'requirements.txt' + - 'requirements.yml' env: CML_PASSWORD: ${{ secrets.CML_PASSWORD }} @@ -26,6 +28,10 @@ jobs: steps: - name: Checkout Inventory uses: actions/checkout@v2 + - name: Install Python Requirements + run: pip install -r requirements.txt + - name: Install Ansible Collections + run: ansible-galaxy collection install -r requirements.yml - name: Run YAMLLINT run: yamllint mdd-data - name: Save Rollback @@ -35,7 +41,7 @@ jobs: - name: Update Devices run: ansible-playbook ciscops.mdd.nso_update_devices - name: Deploy Changes - run: ansible-playbook ciscops.mdd.nso_update_oc -e dry_run=no + run: ansible-playbook ciscops.mdd.update -e dry_run=no - name: Run Checks run: ansible-playbook ciscops.mdd.check - name: Load Rollback diff --git a/group_vars/all/local.yml b/group_vars/all/local.yml deleted file mode 100644 index c429090..0000000 --- a/group_vars/all/local.yml +++ /dev/null @@ -1,9 +0,0 @@ -csr1000v_version: "{{ lookup('env','CSR1000V_VERSION') | default('170101', true) }}" -iosvl2_version: "{{ lookup('env','IOSVL2_VERSION') | default('2019', true) }}" -ubuntu_version: "{{ lookup('env','UBUNTU_VERSION') | default('18-04', true) }}" -# ansible_python_interpreter: /Users/stevenca/Workspaces/model-driven-devops/venv-mdd/bin/python -# ansible_user: admin -# ansible_password: admin - -platform_dict: - 'IOS-XE': 'IOS' diff --git a/inventory/group_vars/all/mdd.yml b/inventory/group_vars/all/mdd.yml index 214b9e6..23a65d6 100644 --- a/inventory/group_vars/all/mdd.yml +++ b/inventory/group_vars/all/mdd.yml @@ -9,9 +9,14 @@ # The data directory for the particular device # mdd_device_dir: >- # {{ mdd_data_root }}/{{ mdd_dir_items | join('/') }} -# The file pattern for files that specify OD Data -# mdd_oc_patterns: +# The file pattern for files that specify MDD Data +# mdd_data_patterns: # - 'oc-*.yml' +# - 'config-*.yml' +# The data types that MDD will operate on +mdd_data_types: + - oc + # - config # The file pattern for files that specify state checks mdd_check_patterns: - 'check-*.yml' diff --git a/mdd-data/org/oc-banner.yml b/mdd-data/org/oc-banner.yml index 33b29df..9e3aee6 100644 --- a/mdd-data/org/oc-banner.yml +++ b/mdd-data/org/oc-banner.yml @@ -1,6 +1,7 @@ --- mdd_data: - openconfig-system:system: - openconfig-system:config: - openconfig-system:login-banner: "Unauthorized access is prohibited!" - openconfig-system:motd-banner: "Welcome to {{ inventory_hostname }}" + mdd:openconfig: + openconfig-system:system: + openconfig-system:config: + openconfig-system:login-banner: "Unauthorized access is prohibited!" + openconfig-system:motd-banner: "Welcome to {{ inventory_hostname }}" diff --git a/mdd-data/org/oc-ntp.yml b/mdd-data/org/oc-ntp.yml index 1914cbc..3b9be71 100644 --- a/mdd-data/org/oc-ntp.yml +++ b/mdd-data/org/oc-ntp.yml @@ -1,21 +1,22 @@ --- mdd_data: - openconfig-system:system: - openconfig-system:clock: - openconfig-system:config: - openconfig-system:timezone-name: 'PST -8 0' - openconfig-system:ntp: - openconfig-system:config: - openconfig-system:enabled: true - openconfig-system:servers: - openconfig-system:server: - - openconfig-system:address: '216.239.35.0' - openconfig-system:config: - openconfig-system:address: '216.239.35.0' - openconfig-system:association-type: SERVER - openconfig-system:iburst: true - - openconfig-system:address: '216.239.35.4' - openconfig-system:config: - openconfig-system:address: '216.239.35.4' - openconfig-system:association-type: SERVER - openconfig-system:iburst: true + mdd:openconfig: + openconfig-system:system: + openconfig-system:clock: + openconfig-system:config: + openconfig-system:timezone-name: 'PST -8 0' + openconfig-system:ntp: + openconfig-system:config: + openconfig-system:enabled: true + openconfig-system:servers: + openconfig-system:server: + - openconfig-system:address: '216.239.35.0' + openconfig-system:config: + openconfig-system:address: '216.239.35.0' + openconfig-system:association-type: SERVER + openconfig-system:iburst: true + - openconfig-system:address: '216.239.35.4' + openconfig-system:config: + openconfig-system:address: '216.239.35.4' + openconfig-system:association-type: SERVER + openconfig-system:iburst: true diff --git a/mdd-data/org/oc-site-routers.yml b/mdd-data/org/oc-site-routers.yml index 6b4d0a8..b069345 100644 --- a/mdd-data/org/oc-site-routers.yml +++ b/mdd-data/org/oc-site-routers.yml @@ -1,216 +1,217 @@ --- mdd_data: - openconfig-routing-policy:routing-policy: - openconfig-routing-policy:defined-sets: - openconfig-bgp-policy:bgp-defined-sets: - openconfig-bgp-policy:ext-community-sets: - openconfig-bgp-policy:ext-community-set: - - openconfig-bgp-policy:ext-community-set-name: import-ext-community-set - openconfig-bgp-policy:config: - openconfig-bgp-policy:ext-community-set-name: import-ext-community-set - openconfig-bgp-policy:match-set-options: ANY - openconfig-bgp-policy:ext-community-member: - - "1:1" - - openconfig-bgp-policy:ext-community-set-name: export-ext-community-set - openconfig-bgp-policy:config: - openconfig-bgp-policy:ext-community-set-name: export-ext-community-set - openconfig-bgp-policy:match-set-options: ANY - openconfig-bgp-policy:ext-community-member: - - "1:1" - openconfig-routing-policy:policy-definitions: - openconfig-routing-policy:policy-definition: - - openconfig-routing-policy:name: import-route-target - openconfig-routing-policy:config: - openconfig-routing-policy:name: import-route-target - openconfig-routing-policy:statements: - openconfig-routing-policy:statement: - - openconfig-routing-policy:name: '10' - openconfig-routing-policy:config: - openconfig-routing-policy:name: '10' - openconfig-routing-policy:conditions: - openconfig-bgp-policy:bgp-conditions: - openconfig-bgp-policy:config: - openconfig-bgp-policy:ext-community-set: import-ext-community-set - openconfig-routing-policy:actions: + mdd:openconfig: + openconfig-routing-policy:routing-policy: + openconfig-routing-policy:defined-sets: + openconfig-bgp-policy:bgp-defined-sets: + openconfig-bgp-policy:ext-community-sets: + openconfig-bgp-policy:ext-community-set: + - openconfig-bgp-policy:ext-community-set-name: import-ext-community-set + openconfig-bgp-policy:config: + openconfig-bgp-policy:ext-community-set-name: import-ext-community-set + openconfig-bgp-policy:match-set-options: ANY + openconfig-bgp-policy:ext-community-member: + - "1:1" + - openconfig-bgp-policy:ext-community-set-name: export-ext-community-set + openconfig-bgp-policy:config: + openconfig-bgp-policy:ext-community-set-name: export-ext-community-set + openconfig-bgp-policy:match-set-options: ANY + openconfig-bgp-policy:ext-community-member: + - "1:1" + openconfig-routing-policy:policy-definitions: + openconfig-routing-policy:policy-definition: + - openconfig-routing-policy:name: import-route-target + openconfig-routing-policy:config: + openconfig-routing-policy:name: import-route-target + openconfig-routing-policy:statements: + openconfig-routing-policy:statement: + - openconfig-routing-policy:name: '10' openconfig-routing-policy:config: - openconfig-routing-policy:policy-result: ACCEPT_ROUTE - - openconfig-routing-policy:name: export-route-target - openconfig-routing-policy:config: - openconfig-routing-policy:name: export-route-target - openconfig-routing-policy:statements: - openconfig-routing-policy:statement: - - openconfig-routing-policy:name: '10' - openconfig-routing-policy:config: - openconfig-routing-policy:name: '10' - openconfig-routing-policy:conditions: - openconfig-bgp-policy:bgp-conditions: - openconfig-bgp-policy:config: - openconfig-bgp-policy:ext-community-set: export-ext-community-set - openconfig-routing-policy:actions: + openconfig-routing-policy:name: '10' + openconfig-routing-policy:conditions: + openconfig-bgp-policy:bgp-conditions: + openconfig-bgp-policy:config: + openconfig-bgp-policy:ext-community-set: import-ext-community-set + openconfig-routing-policy:actions: + openconfig-routing-policy:config: + openconfig-routing-policy:policy-result: ACCEPT_ROUTE + - openconfig-routing-policy:name: export-route-target + openconfig-routing-policy:config: + openconfig-routing-policy:name: export-route-target + openconfig-routing-policy:statements: + openconfig-routing-policy:statement: + - openconfig-routing-policy:name: '10' openconfig-routing-policy:config: - openconfig-routing-policy:policy-result: ACCEPT_ROUTE - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: default - openconfig-network-instance:config: - openconfig-network-instance:name: default - openconfig-network-instance:type: DEFAULT_INSTANCE - openconfig-network-instance:enabled: true - openconfig-network-instance:mpls: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:ttl-propagation: true - openconfig-network-instance:interface-attributes: - openconfig-network-instance:interface: - - openconfig-network-instance:interface-id: GigabitEthernet2 - openconfig-network-instance:config: - openconfig-network-instance:interface-id: GigabitEthernet2 - openconfig-network-instance:mpls-enabled: true - openconfig-network-instance:interface-ref: - openconfig-network-instance:config: - openconfig-network-instance:interface: GigabitEthernet2 - openconfig-network-instance:subinterface: 0 - openconfig-network-instance:signaling-protocols: - openconfig-network-instance:ldp: - openconfig-network-instance:global: - openconfig-network-instance:graceful-restart: - openconfig-network-instance:config: - openconfig-network-instance:enabled: false - openconfig-network-instance:interface-attributes: - openconfig-network-instance:config: - openconfig-network-instance:hello-holdtime: 15 - openconfig-network-instance:hello-interval: 5 - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: OSPF - openconfig-network-instance:name: '100' + openconfig-routing-policy:name: '10' + openconfig-routing-policy:conditions: + openconfig-bgp-policy:bgp-conditions: + openconfig-bgp-policy:config: + openconfig-bgp-policy:ext-community-set: export-ext-community-set + openconfig-routing-policy:actions: + openconfig-routing-policy:config: + openconfig-routing-policy:policy-result: ACCEPT_ROUTE + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: default + openconfig-network-instance:config: + openconfig-network-instance:name: default + openconfig-network-instance:type: DEFAULT_INSTANCE + openconfig-network-instance:enabled: true + openconfig-network-instance:mpls: + openconfig-network-instance:global: openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:identifier: OSPF - openconfig-network-instance:name: '100' - openconfig-network-instance:ospfv2: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:log-adjacency-changes: True - openconfig-network-instance:areas: - openconfig-network-instance:area: - - openconfig-network-instance:identifier: 0 + openconfig-network-instance:ttl-propagation: true + openconfig-network-instance:interface-attributes: + openconfig-network-instance:interface: + - openconfig-network-instance:interface-id: GigabitEthernet2 + openconfig-network-instance:config: + openconfig-network-instance:interface-id: GigabitEthernet2 + openconfig-network-instance:mpls-enabled: true + openconfig-network-instance:interface-ref: openconfig-network-instance:config: - openconfig-network-instance:identifier: 0 - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: Loopback100 - openconfig-network-instance:config: - openconfig-network-instance:id: Loopback100 - openconfig-network-instance:passive: True - - openconfig-network-instance:id: GigabitEthernet2 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet2 - - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:bgp: + openconfig-network-instance:interface: GigabitEthernet2 + openconfig-network-instance:subinterface: 0 + openconfig-network-instance:signaling-protocols: + openconfig-network-instance:ldp: openconfig-network-instance:global: + openconfig-network-instance:graceful-restart: + openconfig-network-instance:config: + openconfig-network-instance:enabled: false + openconfig-network-instance:interface-attributes: openconfig-network-instance:config: - openconfig-network-instance:as: 65100 - openconfig-bgp-ext:log-neighbor-changes: true - openconfig-network-instance:use-multiple-paths: + openconfig-network-instance:hello-holdtime: 15 + openconfig-network-instance:hello-interval: 5 + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: OSPF + openconfig-network-instance:name: '100' + openconfig-network-instance:config: + openconfig-network-instance:enabled: True + openconfig-network-instance:identifier: OSPF + openconfig-network-instance:name: '100' + openconfig-network-instance:ospfv2: + openconfig-network-instance:global: openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:ebgp: - openconfig-network-instance:config: - openconfig-network-instance:allow-multiple-as: True - openconfig-network-instance:maximum-paths: 2 - openconfig-network-instance:ibgp: - openconfig-network-instance:config: - openconfig-network-instance:maximum-paths: 2 - openconfig-network-instance:afi-safis: - openconfig-network-instance:afi-safi: - - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:log-adjacency-changes: True + openconfig-network-instance:areas: + openconfig-network-instance:area: + - openconfig-network-instance:identifier: 0 openconfig-network-instance:config: - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST - openconfig-network-instance:enabled: true - openconfig-network-instance:neighbors: - openconfig-network-instance:neighbor: - - openconfig-network-instance:neighbor-address: 10.255.255.1 + openconfig-network-instance:identifier: 0 + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: Loopback100 + openconfig-network-instance:config: + openconfig-network-instance:id: Loopback100 + openconfig-network-instance:passive: True + - openconfig-network-instance:id: GigabitEthernet2 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet2 + - openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:config: + openconfig-network-instance:enabled: True + openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:bgp: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:as: 65100 + openconfig-bgp-ext:log-neighbor-changes: true + openconfig-network-instance:use-multiple-paths: openconfig-network-instance:config: - openconfig-network-instance:neighbor-address: 10.255.255.1 - openconfig-network-instance:description: WAN RR - openconfig-network-instance:peer-as: 65100 - openconfig-network-instance:send-community: BOTH - openconfig-network-instance:transport: + openconfig-network-instance:enabled: True + openconfig-network-instance:ebgp: openconfig-network-instance:config: - openconfig-network-instance:local-address: Loopback100 - openconfig-network-instance:afi-safis: - openconfig-network-instance:afi-safi: - - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST - openconfig-network-instance:config: - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST - openconfig-network-instance:enabled: true - - openconfig-network-instance:name: internal_1 - openconfig-network-instance:config: - openconfig-network-instance:name: internal_1 - openconfig-network-instance:type: L3VRF - openconfig-network-instance:enabled: true - openconfig-network-instance:enabled-address-families: - - IPV4 - - IPV6 - openconfig-network-instance:route-distinguisher: '1:1' - openconfig-network-instance:inter-instance-policies: - openconfig-network-instance:apply-policy: - openconfig-network-instance:config: - openconfig-network-instance:import-policy: - - import-route-target - openconfig-network-instance:export-policy: - - export-route-target - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:config: - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:interface: Loopback0 - openconfig-network-instance:subinterface: 0 - - openconfig-network-instance:id: GigabitEthernet3.10 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet3.10 - openconfig-network-instance:interface: GigabitEthernet3 - openconfig-network-instance:subinterface: 10 - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:bgp: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:as: 65100 - openconfig-network-instance:afi-safis: - openconfig-network-instance:afi-safi: - - openconfig-network-instance:afi-safi-name: IPV4_UNICAST + openconfig-network-instance:allow-multiple-as: True + openconfig-network-instance:maximum-paths: 2 + openconfig-network-instance:ibgp: openconfig-network-instance:config: - openconfig-network-instance:afi-safi-name: IPV4_UNICAST - openconfig-network-instance:enabled: true - openconfig-network-instance:table-connections: - openconfig-network-instance:table-connection: - - openconfig-network-instance:src-protocol: STATIC - openconfig-network-instance:dst-protocol: BGP - openconfig-network-instance:address-family: IPV4 + openconfig-network-instance:maximum-paths: 2 + openconfig-network-instance:afi-safis: + openconfig-network-instance:afi-safi: + - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:config: + openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:enabled: true + openconfig-network-instance:neighbors: + openconfig-network-instance:neighbor: + - openconfig-network-instance:neighbor-address: 10.255.255.1 + openconfig-network-instance:config: + openconfig-network-instance:neighbor-address: 10.255.255.1 + openconfig-network-instance:description: WAN RR + openconfig-network-instance:peer-as: 65100 + openconfig-network-instance:send-community: BOTH + openconfig-network-instance:transport: + openconfig-network-instance:config: + openconfig-network-instance:local-address: Loopback100 + openconfig-network-instance:afi-safis: + openconfig-network-instance:afi-safi: + - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:config: + openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:enabled: true + - openconfig-network-instance:name: internal_1 + openconfig-network-instance:config: + openconfig-network-instance:name: internal_1 + openconfig-network-instance:type: L3VRF + openconfig-network-instance:enabled: true + openconfig-network-instance:enabled-address-families: + - IPV4 + - IPV6 + openconfig-network-instance:route-distinguisher: '1:1' + openconfig-network-instance:inter-instance-policies: + openconfig-network-instance:apply-policy: openconfig-network-instance:config: - openconfig-network-instance:address-family: IPV4 + openconfig-network-instance:import-policy: + - import-route-target + openconfig-network-instance:export-policy: + - export-route-target + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: Loopback0 + openconfig-network-instance:config: + openconfig-network-instance:id: Loopback0 + openconfig-network-instance:interface: Loopback0 + openconfig-network-instance:subinterface: 0 + - openconfig-network-instance:id: GigabitEthernet3.10 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet3.10 + openconfig-network-instance:interface: GigabitEthernet3 + openconfig-network-instance:subinterface: 10 + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:config: + openconfig-network-instance:enabled: True + openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:bgp: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:as: 65100 + openconfig-network-instance:afi-safis: + openconfig-network-instance:afi-safi: + - openconfig-network-instance:afi-safi-name: IPV4_UNICAST + openconfig-network-instance:config: + openconfig-network-instance:afi-safi-name: IPV4_UNICAST + openconfig-network-instance:enabled: true + openconfig-network-instance:table-connections: + openconfig-network-instance:table-connection: + - openconfig-network-instance:src-protocol: STATIC openconfig-network-instance:dst-protocol: BGP - openconfig-network-instance:src-protocol: STATIC - - openconfig-network-instance:src-protocol: DIRECTLY_CONNECTED - openconfig-network-instance:dst-protocol: BGP - openconfig-network-instance:address-family: IPV4 - openconfig-network-instance:config: openconfig-network-instance:address-family: IPV4 + openconfig-network-instance:config: + openconfig-network-instance:address-family: IPV4 + openconfig-network-instance:dst-protocol: BGP + openconfig-network-instance:src-protocol: STATIC + - openconfig-network-instance:src-protocol: DIRECTLY_CONNECTED openconfig-network-instance:dst-protocol: BGP - openconfig-network-instance:src-protocol: DIRECTLY_CONNECTED + openconfig-network-instance:address-family: IPV4 + openconfig-network-instance:config: + openconfig-network-instance:address-family: IPV4 + openconfig-network-instance:dst-protocol: BGP + openconfig-network-instance:src-protocol: DIRECTLY_CONNECTED mdd_tags: - site_router diff --git a/mdd-data/org/oc-stp.yml b/mdd-data/org/oc-stp.yml index 910d1d0..f2e1b34 100644 --- a/mdd-data/org/oc-stp.yml +++ b/mdd-data/org/oc-stp.yml @@ -2,12 +2,13 @@ mdd_tags: - switch mdd_data: - openconfig-spanning-tree:stp: - openconfig-spanning-tree:global: - openconfig-spanning-tree:config: - openconfig-spanning-tree:loop-guard: true - openconfig-spanning-tree:etherchannel-misconfig-guard: true - openconfig-spanning-tree:bpdu-guard: true - openconfig-spanning-tree:bpdu-filter: false - openconfig-spanning-tree:enabled-protocol: - - RAPID_PVST + mdd:openconfig: + openconfig-spanning-tree:stp: + openconfig-spanning-tree:global: + openconfig-spanning-tree:config: + openconfig-spanning-tree:loop-guard: true + openconfig-spanning-tree:etherchannel-misconfig-guard: true + openconfig-spanning-tree:bpdu-guard: true + openconfig-spanning-tree:bpdu-filter: false + openconfig-spanning-tree:enabled-protocol: + - RAPID_PVST diff --git a/mdd-data/org/oc-system.yml b/mdd-data/org/oc-system.yml index 676f119..73c1654 100644 --- a/mdd-data/org/oc-system.yml +++ b/mdd-data/org/oc-system.yml @@ -1,53 +1,54 @@ --- mdd_data: - openconfig-system:system: - openconfig-system:logging: - openconfig-system:console: - openconfig-system:config: - openconfig-system-ext:enabled: false - openconfig-system-ext:timestamps: - openconfig-system-ext:logging: - openconfig-system-ext:config: - openconfig-system-ext:enabled: true - openconfig-system-ext:datetime: true - openconfig-system-ext:uptime: false - openconfig-system-ext:localtime: false - openconfig-system-ext:debugging: - openconfig-system-ext:config: - openconfig-system-ext:enabled: true - openconfig-system-ext:datetime: true - openconfig-system-ext:uptime: false - openconfig-system-ext:localtime: false - openconfig-system:config: - openconfig-system:domain-name: mdd.cisco.com - openconfig-system:hostname: '{{ inventory_hostname }}' - openconfig-system-ext:services: - openconfig-system-ext:config: - openconfig-system-ext:finger: false - openconfig-system-ext:service-tcp-small-servers: false - openconfig-system-ext:service-udp-small-servers: false - openconfig-system-ext:http: - openconfig-system-ext:config: - openconfig-system-ext:http-enabled: false - openconfig-system-ext:https-enabled: true - openconfig-system-ext:ip-http-max-connections: 2 - openconfig-system:dns: - openconfig-system:servers: - openconfig-system:server: - - openconfig-system:address: 208.67.222.222 - openconfig-system:config: - openconfig-system:address: 208.67.222.222 - openconfig-system:port: 53 # always 53 for ios - - openconfig-system:address: 208.67.220.220 - openconfig-system:config: - openconfig-system:address: 208.67.220.220 - openconfig-system:port: 53 # always 53 for ios - openconfig-system:ssh-server: + mdd:openconfig: + openconfig-system:system: + openconfig-system:logging: + openconfig-system:console: + openconfig-system:config: + openconfig-system-ext:enabled: false + openconfig-system-ext:timestamps: + openconfig-system-ext:logging: + openconfig-system-ext:config: + openconfig-system-ext:enabled: true + openconfig-system-ext:datetime: true + openconfig-system-ext:uptime: false + openconfig-system-ext:localtime: false + openconfig-system-ext:debugging: + openconfig-system-ext:config: + openconfig-system-ext:enabled: true + openconfig-system-ext:datetime: true + openconfig-system-ext:uptime: false + openconfig-system-ext:localtime: false openconfig-system:config: - openconfig-system-ext:absolute-timeout-minutes: 1200 - openconfig-system-ext:ssh-timeout: 60 # ip ssh timeout - openconfig-system:enable: true # adds line transport input ssh; must be enabled for this to work - openconfig-system:protocol-version: V2 # ip ssh version 2 - openconfig-system:rate-limit: 0 # unsupported in ios - openconfig-system:session-limit: 16 # line session-limit 16 - openconfig-system:timeout: 1800 # seconds - line exec-timeout 30 0 + openconfig-system:domain-name: mdd.cisco.com + openconfig-system:hostname: '{{ inventory_hostname }}' + openconfig-system-ext:services: + openconfig-system-ext:config: + openconfig-system-ext:finger: false + openconfig-system-ext:service-tcp-small-servers: false + openconfig-system-ext:service-udp-small-servers: false + openconfig-system-ext:http: + openconfig-system-ext:config: + openconfig-system-ext:http-enabled: false + openconfig-system-ext:https-enabled: true + openconfig-system-ext:ip-http-max-connections: 2 + openconfig-system:dns: + openconfig-system:servers: + openconfig-system:server: + - openconfig-system:address: 208.67.222.222 + openconfig-system:config: + openconfig-system:address: 208.67.222.222 + openconfig-system:port: 53 # always 53 for ios + - openconfig-system:address: 208.67.220.220 + openconfig-system:config: + openconfig-system:address: 208.67.220.220 + openconfig-system:port: 53 # always 53 for ios + openconfig-system:ssh-server: + openconfig-system:config: + openconfig-system-ext:absolute-timeout-minutes: 1200 + openconfig-system-ext:ssh-timeout: 60 # ip ssh timeout + openconfig-system:enable: true # adds line transport input ssh; must be enabled for this to work + openconfig-system:protocol-version: V2 # ip ssh version 2 + openconfig-system:rate-limit: 0 # unsupported in ios + openconfig-system:session-limit: 16 # line session-limit 16 + openconfig-system:timeout: 1800 # seconds - line exec-timeout 30 0 diff --git a/mdd-data/org/oc-vlan.yml b/mdd-data/org/oc-vlan.yml index fde1222..9c49639 100644 --- a/mdd-data/org/oc-vlan.yml +++ b/mdd-data/org/oc-vlan.yml @@ -2,32 +2,33 @@ mdd_tags: - switch mdd_data: - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: 'default' - openconfig-network-instance:config: - openconfig-network-instance:name: 'default' - openconfig-network-instance:type: 'DEFAULT_INSTANCE' - openconfig-network-instance:enabled: true - openconfig-network-instance:vlans: - openconfig-network-instance:vlan: - - openconfig-network-instance:vlan-id: 10 - openconfig-network-instance:config: - openconfig-network-instance:vlan-id: 10 - openconfig-network-instance:name: 'Internal-1' - openconfig-network-instance:status: 'ACTIVE' - - openconfig-network-instance:vlan-id: 99 - openconfig-network-instance:config: - openconfig-network-instance:vlan-id: 99 - openconfig-network-instance:name: 'Native' - openconfig-network-instance:status: 'ACTIVE' - - openconfig-network-instance:vlan-id: 100 - openconfig-network-instance:config: - openconfig-network-instance:vlan-id: 100 - openconfig-network-instance:name: 'Corporate' - openconfig-network-instance:status: 'ACTIVE' - - openconfig-network-instance:vlan-id: 101 - openconfig-network-instance:config: - openconfig-network-instance:vlan-id: 101 - openconfig-network-instance:name: 'Guest' - openconfig-network-instance:status: 'ACTIVE' + mdd:openconfig: + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: 'default' + openconfig-network-instance:config: + openconfig-network-instance:name: 'default' + openconfig-network-instance:type: 'DEFAULT_INSTANCE' + openconfig-network-instance:enabled: true + openconfig-network-instance:vlans: + openconfig-network-instance:vlan: + - openconfig-network-instance:vlan-id: 10 + openconfig-network-instance:config: + openconfig-network-instance:vlan-id: 10 + openconfig-network-instance:name: 'Internal-1' + openconfig-network-instance:status: 'ACTIVE' + - openconfig-network-instance:vlan-id: 99 + openconfig-network-instance:config: + openconfig-network-instance:vlan-id: 99 + openconfig-network-instance:name: 'Native' + openconfig-network-instance:status: 'ACTIVE' + - openconfig-network-instance:vlan-id: 100 + openconfig-network-instance:config: + openconfig-network-instance:vlan-id: 100 + openconfig-network-instance:name: 'Corporate' + openconfig-network-instance:status: 'ACTIVE' + - openconfig-network-instance:vlan-id: 101 + openconfig-network-instance:config: + openconfig-network-instance:vlan-id: 101 + openconfig-network-instance:name: 'Guest' + openconfig-network-instance:status: 'ACTIVE' diff --git a/mdd-data/org/oc-vrf.yml b/mdd-data/org/oc-vrf.yml index 46d3b3b..047ea95 100644 --- a/mdd-data/org/oc-vrf.yml +++ b/mdd-data/org/oc-vrf.yml @@ -1,14 +1,15 @@ --- mdd_data: - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:config: - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:type: L3VRF - openconfig-network-instance:enabled: true - openconfig-network-instance:enabled-address-families: - - IPV4 - - IPV6 + mdd:openconfig: + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:config: + openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:type: L3VRF + openconfig-network-instance:enabled: true + openconfig-network-instance:enabled-address-families: + - IPV4 + - IPV6 mdd_tags: - router diff --git a/mdd-data/org/region1/hq/WAN-rtr1/oc-interfaces.yml b/mdd-data/org/region1/hq/WAN-rtr1/oc-interfaces.yml index afd88f1..3a3455c 100644 --- a/mdd-data/org/region1/hq/WAN-rtr1/oc-interfaces.yml +++ b/mdd-data/org/region1/hq/WAN-rtr1/oc-interfaces.yml @@ -1,134 +1,135 @@ --- mdd_data: - openconfig-interfaces:interfaces: - openconfig-interfaces:interface: - - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.255.255.1 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.255.255.1 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:config: - openconfig-if-ip:dhcp-client: true - - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.0.0.1 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.0.0.1 - openconfig-if-ip:prefix-length: 30 - - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.0.0.5 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.0.0.5 - openconfig-if-ip:prefix-length: 30 - - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.0.0.9 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.0.0.9 - openconfig-if-ip:prefix-length: 30 - - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.0.0.13 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.0.0.13 - openconfig-if-ip:prefix-length: 30 - - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 + mdd:openconfig: + openconfig-interfaces:interfaces: + openconfig-interfaces:interface: + - openconfig-interfaces:name: Loopback0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback0 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.255.255.1 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.255.255.1 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:config: + openconfig-if-ip:dhcp-client: true + - openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.0.0.1 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.0.0.1 + openconfig-if-ip:prefix-length: 30 + - openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.0.0.5 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.0.0.5 + openconfig-if-ip:prefix-length: 30 + - openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.0.0.9 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.0.0.9 + openconfig-if-ip:prefix-length: 30 + - openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.0.0.13 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.0.0.13 + openconfig-if-ip:prefix-length: 30 + - openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + - openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + - openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 mdd_tags: - all diff --git a/mdd-data/org/region1/hq/WAN-rtr1/oc-routing.yml b/mdd-data/org/region1/hq/WAN-rtr1/oc-routing.yml index 90f7cb3..037daf3 100644 --- a/mdd-data/org/region1/hq/WAN-rtr1/oc-routing.yml +++ b/mdd-data/org/region1/hq/WAN-rtr1/oc-routing.yml @@ -1,141 +1,142 @@ --- mdd_data: - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: default - openconfig-network-instance:config: - openconfig-network-instance:enabled: true - openconfig-network-instance:name: default - openconfig-network-instance:type: DEFAULT_INSTANCE - openconfig-network-instance:mpls: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:ttl-propagation: true - openconfig-network-instance:interface-attributes: - openconfig-network-instance:interface: - - openconfig-network-instance:interface-id: GigabitEthernet2 - openconfig-network-instance:config: - openconfig-network-instance:interface-id: GigabitEthernet2 - openconfig-network-instance:mpls-enabled: true - openconfig-network-instance:interface-ref: + mdd:openconfig: + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: default + openconfig-network-instance:config: + openconfig-network-instance:enabled: true + openconfig-network-instance:name: default + openconfig-network-instance:type: DEFAULT_INSTANCE + openconfig-network-instance:mpls: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:ttl-propagation: true + openconfig-network-instance:interface-attributes: + openconfig-network-instance:interface: + - openconfig-network-instance:interface-id: GigabitEthernet2 openconfig-network-instance:config: - openconfig-network-instance:interface: GigabitEthernet2 - openconfig-network-instance:subinterface: 0 - - openconfig-network-instance:interface-id: GigabitEthernet3 - openconfig-network-instance:config: - openconfig-network-instance:interface-id: GigabitEthernet3 - openconfig-network-instance:mpls-enabled: true - openconfig-network-instance:interface-ref: + openconfig-network-instance:interface-id: GigabitEthernet2 + openconfig-network-instance:mpls-enabled: true + openconfig-network-instance:interface-ref: + openconfig-network-instance:config: + openconfig-network-instance:interface: GigabitEthernet2 + openconfig-network-instance:subinterface: 0 + - openconfig-network-instance:interface-id: GigabitEthernet3 openconfig-network-instance:config: - openconfig-network-instance:interface: GigabitEthernet3 - openconfig-network-instance:subinterface: 0 - - openconfig-network-instance:interface-id: GigabitEthernet4 - openconfig-network-instance:config: - openconfig-network-instance:interface-id: GigabitEthernet4 - openconfig-network-instance:mpls-enabled: true - openconfig-network-instance:interface-ref: + openconfig-network-instance:interface-id: GigabitEthernet3 + openconfig-network-instance:mpls-enabled: true + openconfig-network-instance:interface-ref: + openconfig-network-instance:config: + openconfig-network-instance:interface: GigabitEthernet3 + openconfig-network-instance:subinterface: 0 + - openconfig-network-instance:interface-id: GigabitEthernet4 openconfig-network-instance:config: - openconfig-network-instance:interface: GigabitEthernet4 - openconfig-network-instance:subinterface: 0 - - openconfig-network-instance:interface-id: GigabitEthernet5 - openconfig-network-instance:config: - openconfig-network-instance:interface-id: GigabitEthernet5 - openconfig-network-instance:mpls-enabled: true - openconfig-network-instance:interface-ref: + openconfig-network-instance:interface-id: GigabitEthernet4 + openconfig-network-instance:mpls-enabled: true + openconfig-network-instance:interface-ref: + openconfig-network-instance:config: + openconfig-network-instance:interface: GigabitEthernet4 + openconfig-network-instance:subinterface: 0 + - openconfig-network-instance:interface-id: GigabitEthernet5 openconfig-network-instance:config: - openconfig-network-instance:interface: GigabitEthernet5 - openconfig-network-instance:subinterface: 0 - openconfig-network-instance:signaling-protocols: - openconfig-network-instance:ldp: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:lsr-id: 10.255.255.1 - openconfig-network-instance:graceful-restart: - openconfig-network-instance:config: - openconfig-network-instance:enabled: false - openconfig-network-instance:interface-attributes: - openconfig-network-instance:config: - openconfig-network-instance:hello-holdtime: 15 - openconfig-network-instance:hello-interval: 5 - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: OSPF - openconfig-network-instance:name: 100 - openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:identifier: OSPF - openconfig-network-instance:name: 100 - openconfig-network-instance:ospfv2: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:router-id: 10.255.255.1 - openconfig-network-instance:log-adjacency-changes: True - openconfig-network-instance:areas: - openconfig-network-instance:area: - - openconfig-network-instance:identifier: 0 + openconfig-network-instance:interface-id: GigabitEthernet5 + openconfig-network-instance:mpls-enabled: true + openconfig-network-instance:interface-ref: openconfig-network-instance:config: - openconfig-network-instance:identifier: 0 - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:config: - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:passive: True - - openconfig-network-instance:id: GigabitEthernet2 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet2 - - openconfig-network-instance:id: GigabitEthernet3 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet3 - - openconfig-network-instance:id: GigabitEthernet4 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet4 - - openconfig-network-instance:id: GigabitEthernet5 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet5 - - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:bgp: + openconfig-network-instance:interface: GigabitEthernet5 + openconfig-network-instance:subinterface: 0 + openconfig-network-instance:signaling-protocols: + openconfig-network-instance:ldp: openconfig-network-instance:global: openconfig-network-instance:config: - openconfig-network-instance:as: 65100 - openconfig-network-instance:router-id: 10.255.255.1 - openconfig-network-instance:dynamic-neighbor-prefixes: - openconfig-network-instance:dynamic-neighbor-prefix: - - openconfig-network-instance:prefix: 10.255.255.0/24 - openconfig-network-instance:config: - openconfig-network-instance:peer-group: L3VPN_PEERS - openconfig-network-instance:prefix: 10.255.255.0/24 - openconfig-network-instance:afi-safis: - openconfig-network-instance:afi-safi: - - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST - openconfig-network-instance:config: - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST - openconfig-network-instance:enabled: true - openconfig-network-instance:peer-groups: - openconfig-network-instance:peer-group: - - openconfig-network-instance:peer-group-name: L3VPN_PEERS - openconfig-network-instance:config: - openconfig-network-instance:peer-group-name: L3VPN_PEERS - openconfig-network-instance:peer-as: 65100 - openconfig-network-instance:send-community: EXTENDED - openconfig-network-instance:transport: + openconfig-network-instance:lsr-id: 10.255.255.1 + openconfig-network-instance:graceful-restart: + openconfig-network-instance:config: + openconfig-network-instance:enabled: false + openconfig-network-instance:interface-attributes: + openconfig-network-instance:config: + openconfig-network-instance:hello-holdtime: 15 + openconfig-network-instance:hello-interval: 5 + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: OSPF + openconfig-network-instance:name: 100 + openconfig-network-instance:config: + openconfig-network-instance:enabled: True + openconfig-network-instance:identifier: OSPF + openconfig-network-instance:name: 100 + openconfig-network-instance:ospfv2: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:router-id: 10.255.255.1 + openconfig-network-instance:log-adjacency-changes: True + openconfig-network-instance:areas: + openconfig-network-instance:area: + - openconfig-network-instance:identifier: 0 openconfig-network-instance:config: - openconfig-network-instance:local-address: Loopback0 - openconfig-network-instance:afi-safis: - openconfig-network-instance:afi-safi: - - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST - openconfig-network-instance:config: - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST - openconfig-network-instance:enabled: true - openconfig-network-instance:route-reflector: + openconfig-network-instance:identifier: 0 + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: Loopback0 + openconfig-network-instance:config: + openconfig-network-instance:id: Loopback0 + openconfig-network-instance:passive: True + - openconfig-network-instance:id: GigabitEthernet2 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet2 + - openconfig-network-instance:id: GigabitEthernet3 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet3 + - openconfig-network-instance:id: GigabitEthernet4 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet4 + - openconfig-network-instance:id: GigabitEthernet5 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet5 + - openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:config: + openconfig-network-instance:enabled: True + openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:bgp: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:as: 65100 + openconfig-network-instance:router-id: 10.255.255.1 + openconfig-network-instance:dynamic-neighbor-prefixes: + openconfig-network-instance:dynamic-neighbor-prefix: + - openconfig-network-instance:prefix: 10.255.255.0/24 + openconfig-network-instance:config: + openconfig-network-instance:peer-group: L3VPN_PEERS + openconfig-network-instance:prefix: 10.255.255.0/24 + openconfig-network-instance:afi-safis: + openconfig-network-instance:afi-safi: + - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:config: + openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:enabled: true + openconfig-network-instance:peer-groups: + openconfig-network-instance:peer-group: + - openconfig-network-instance:peer-group-name: L3VPN_PEERS openconfig-network-instance:config: - openconfig-network-instance:route-reflector-client: True - openconfig-network-instance:route-reflector-cluster-id: 10.255.255.1 + openconfig-network-instance:peer-group-name: L3VPN_PEERS + openconfig-network-instance:peer-as: 65100 + openconfig-network-instance:send-community: EXTENDED + openconfig-network-instance:transport: + openconfig-network-instance:config: + openconfig-network-instance:local-address: Loopback0 + openconfig-network-instance:afi-safis: + openconfig-network-instance:afi-safi: + - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:config: + openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:enabled: true + openconfig-network-instance:route-reflector: + openconfig-network-instance:config: + openconfig-network-instance:route-reflector-client: True + openconfig-network-instance:route-reflector-cluster-id: 10.255.255.1 mdd_tags: - all diff --git a/mdd-data/org/region1/hq/hq-pop/oc-interfaces.yml b/mdd-data/org/region1/hq/hq-pop/oc-interfaces.yml index 1cb7007..d479fcc 100644 --- a/mdd-data/org/region1/hq/hq-pop/oc-interfaces.yml +++ b/mdd-data/org/region1/hq/hq-pop/oc-interfaces.yml @@ -1,105 +1,106 @@ --- mdd_data: - openconfig-interfaces:interfaces: - openconfig-interfaces:interface: - - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 172.16.255.5 - openconfig-if-ip:config: - openconfig-if-ip:ip: 172.16.255.5 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:config: - openconfig-if-ip:dhcp-client: true - - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:config: - openconfig-interfaces:description: 802.1q - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 10 - openconfig-interfaces:config: - openconfig-interfaces:description: VLAN10 - openconfig-interfaces:enabled: true - openconfig-interfaces:index: 10 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 172.16.0.50 - openconfig-if-ip:config: - openconfig-if-ip:ip: 172.16.0.50 - openconfig-if-ip:prefix-length: 24 - openconfig-if-ip:config: - openconfig-if-ip-mdd-ext:nat: - openconfig-if-ip-mdd-ext:nat-choice: inside - openconfig-vlan:vlan: - openconfig-vlan:config: - openconfig-vlan:vlan-id: 10 - - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.0.254.2 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.0.254.2 - openconfig-if-ip:prefix-length: 30 - openconfig-if-ip:config: - openconfig-if-ip-mdd-ext:nat: - openconfig-if-ip-mdd-ext:nat-choice: outside + mdd:openconfig: + openconfig-interfaces:interfaces: + openconfig-interfaces:interface: + - openconfig-interfaces:name: Loopback0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback0 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 172.16.255.5 + openconfig-if-ip:config: + openconfig-if-ip:ip: 172.16.255.5 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:config: + openconfig-if-ip:dhcp-client: true + - openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:config: + openconfig-interfaces:description: 802.1q + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 10 + openconfig-interfaces:config: + openconfig-interfaces:description: VLAN10 + openconfig-interfaces:enabled: true + openconfig-interfaces:index: 10 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 172.16.0.50 + openconfig-if-ip:config: + openconfig-if-ip:ip: 172.16.0.50 + openconfig-if-ip:prefix-length: 24 + openconfig-if-ip:config: + openconfig-if-ip-mdd-ext:nat: + openconfig-if-ip-mdd-ext:nat-choice: inside + openconfig-vlan:vlan: + openconfig-vlan:config: + openconfig-vlan:vlan-id: 10 + - openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.0.254.2 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.0.254.2 + openconfig-if-ip:prefix-length: 30 + openconfig-if-ip:config: + openconfig-if-ip-mdd-ext:nat: + openconfig-if-ip-mdd-ext:nat-choice: outside diff --git a/mdd-data/org/region1/hq/hq-pop/oc-nat.yml b/mdd-data/org/region1/hq/hq-pop/oc-nat.yml index 8a3fc42..3736a04 100644 --- a/mdd-data/org/region1/hq/hq-pop/oc-nat.yml +++ b/mdd-data/org/region1/hq/hq-pop/oc-nat.yml @@ -1,55 +1,56 @@ --- mdd_data: - openconfig-acl:acl: - openconfig-acl:acl-sets: - openconfig-acl:acl-set: - - openconfig-acl:name: nat-internal - openconfig-acl:type: 'openconfig-acl-ext:ACL_IPV4_STANDARD' - openconfig-acl:config: - openconfig-acl:name: nat-internal + mdd:openconfig: + openconfig-acl:acl: + openconfig-acl:acl-sets: + openconfig-acl:acl-set: + - openconfig-acl:name: nat-internal openconfig-acl:type: 'openconfig-acl-ext:ACL_IPV4_STANDARD' - openconfig-acl:acl-entries: - openconfig-acl:acl-entry: - - openconfig-acl:sequence-id: 10 - openconfig-acl:actions: + openconfig-acl:config: + openconfig-acl:name: nat-internal + openconfig-acl:type: 'openconfig-acl-ext:ACL_IPV4_STANDARD' + openconfig-acl:acl-entries: + openconfig-acl:acl-entry: + - openconfig-acl:sequence-id: 10 + openconfig-acl:actions: + openconfig-acl:config: + openconfig-acl:forwarding-action: ACCEPT + openconfig-acl:log-action: LOG_NONE openconfig-acl:config: - openconfig-acl:forwarding-action: ACCEPT - openconfig-acl:log-action: LOG_NONE - openconfig-acl:config: - openconfig-acl:sequence-id: 10 - openconfig-acl-ext:ipv4: - openconfig-acl-ext:config: - openconfig-acl-ext:source-address: 10.0.0.0/8 - - openconfig-acl:sequence-id: 20 - openconfig-acl:actions: + openconfig-acl:sequence-id: 10 + openconfig-acl-ext:ipv4: + openconfig-acl-ext:config: + openconfig-acl-ext:source-address: 10.0.0.0/8 + - openconfig-acl:sequence-id: 20 + openconfig-acl:actions: + openconfig-acl:config: + openconfig-acl:forwarding-action: ACCEPT + openconfig-acl:log-action: LOG_NONE openconfig-acl:config: - openconfig-acl:forwarding-action: ACCEPT - openconfig-acl:log-action: LOG_NONE - openconfig-acl:config: - openconfig-acl:sequence-id: 20 - openconfig-acl-ext:ipv4: - openconfig-acl-ext:config: - openconfig-acl-ext:source-address: 172.16.0.0/12 - - openconfig-acl:sequence-id: 30 - openconfig-acl:actions: + openconfig-acl:sequence-id: 20 + openconfig-acl-ext:ipv4: + openconfig-acl-ext:config: + openconfig-acl-ext:source-address: 172.16.0.0/12 + - openconfig-acl:sequence-id: 30 + openconfig-acl:actions: + openconfig-acl:config: + openconfig-acl:forwarding-action: ACCEPT + openconfig-acl:log-action: LOG_NONE openconfig-acl:config: - openconfig-acl:forwarding-action: ACCEPT - openconfig-acl:log-action: LOG_NONE - openconfig-acl:config: - openconfig-acl:sequence-id: 30 - openconfig-acl-ext:ipv4: - openconfig-acl-ext:config: - openconfig-acl-ext:source-address: 192.168.0.0/16 - openconfig-system:system: - openconfig-system-ext:services: - openconfig-system-ext:nat: - openconfig-system-ext:inside: - openconfig-system-ext:source: - openconfig-system-ext:local-addresses-access-lists: - openconfig-system-ext:local-addresses-access-list: - - openconfig-system-ext:local-addresses-access-list-name: nat-internal - openconfig-system-ext:config: - openconfig-system-ext:local-addresses-access-list-name: nat-internal - openconfig-system-ext:global-interface-name: GigabitEthernet8 - openconfig-system-ext:vrf: internal_1 - openconfig-system-ext:overload: true + openconfig-acl:sequence-id: 30 + openconfig-acl-ext:ipv4: + openconfig-acl-ext:config: + openconfig-acl-ext:source-address: 192.168.0.0/16 + openconfig-system:system: + openconfig-system-ext:services: + openconfig-system-ext:nat: + openconfig-system-ext:inside: + openconfig-system-ext:source: + openconfig-system-ext:local-addresses-access-lists: + openconfig-system-ext:local-addresses-access-list: + - openconfig-system-ext:local-addresses-access-list-name: nat-internal + openconfig-system-ext:config: + openconfig-system-ext:local-addresses-access-list-name: nat-internal + openconfig-system-ext:global-interface-name: GigabitEthernet8 + openconfig-system-ext:vrf: internal_1 + openconfig-system-ext:overload: true diff --git a/mdd-data/org/region1/hq/hq-pop/oc-routing.yml b/mdd-data/org/region1/hq/hq-pop/oc-routing.yml index f6b4387..a44efa1 100644 --- a/mdd-data/org/region1/hq/hq-pop/oc-routing.yml +++ b/mdd-data/org/region1/hq/hq-pop/oc-routing.yml @@ -1,109 +1,110 @@ --- mdd_data: - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: default - openconfig-network-instance:config: - openconfig-network-instance:name: default - openconfig-network-instance:type: DEFAULT_INSTANCE - openconfig-network-instance:enabled: true - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:identifier: BGP + mdd:openconfig: + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: default + openconfig-network-instance:config: + openconfig-network-instance:name: default + openconfig-network-instance:type: DEFAULT_INSTANCE + openconfig-network-instance:enabled: true + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: BGP openconfig-network-instance:name: BGP - openconfig-network-instance:bgp: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:as: 100 - openconfig-bgp-ext:log-neighbor-changes: true - openconfig-network-instance:afi-safis: - openconfig-network-instance:afi-safi: - - openconfig-network-instance:afi-safi-name: IPV4_UNICAST - openconfig-network-instance:config: - openconfig-network-instance:afi-safi-name: IPV4_UNICAST - openconfig-network-instance:enabled: true - openconfig-network-instance:neighbors: - openconfig-network-instance:neighbor: - - openconfig-network-instance:neighbor-address: 10.0.254.1 - openconfig-network-instance:config: - openconfig-network-instance:neighbor-address: 10.0.254.1 - openconfig-network-instance:description: ISP - openconfig-network-instance:peer-as: 99 - openconfig-network-instance:enabled: True - openconfig-network-instance:afi-safis: - openconfig-network-instance:afi-safi: - - openconfig-network-instance:afi-safi-name: IPV4_UNICAST - openconfig-network-instance:config: - openconfig-network-instance:afi-safi-name: IPV4_UNICAST - openconfig-network-instance:enabled: true - - openconfig-network-instance:name: internal_1 - openconfig-network-instance:config: - openconfig-network-instance:name: internal_1 - openconfig-network-instance:type: L3VRF - openconfig-network-instance:enabled: true - openconfig-network-instance:enabled-address-families: - - IPV4 - - IPV6 - openconfig-network-instance:route-distinguisher: '1:1' - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:config: - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:interface: Loopback0 - openconfig-network-instance:subinterface: 0 - - openconfig-network-instance:id: GigabitEthernet2.10 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet2.10 - openconfig-network-instance:interface: GigabitEthernet2 - openconfig-network-instance:subinterface: 10 - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: STATIC - openconfig-network-instance:name: DEFAULT - openconfig-network-instance:config: - openconfig-network-instance:identifier: STATIC - openconfig-network-instance:name: DEFAULT - openconfig-network-instance:static-routes: - openconfig-network-instance:static: - - openconfig-network-instance:prefix: 0.0.0.0/0 + openconfig-network-instance:config: + openconfig-network-instance:enabled: True + openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:bgp: + openconfig-network-instance:global: openconfig-network-instance:config: - openconfig-network-instance:prefix: 0.0.0.0/0 - openconfig-network-instance:next-hops: - openconfig-network-instance:next-hop: - - openconfig-network-instance:index: 10.0.254.1 + openconfig-network-instance:as: 100 + openconfig-bgp-ext:log-neighbor-changes: true + openconfig-network-instance:afi-safis: + openconfig-network-instance:afi-safi: + - openconfig-network-instance:afi-safi-name: IPV4_UNICAST openconfig-network-instance:config: - openconfig-network-instance:index: 10.0.254.1 - openconfig-network-instance:next-hop: 10.0.254.1 - openconfig-local-routing-ext:global: true - - openconfig-network-instance:identifier: OSPF - openconfig-network-instance:name: '1' - openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:identifier: OSPF - openconfig-network-instance:name: '1' - openconfig-network-instance:ospfv2: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:log-adjacency-changes: True - openconfig-ospfv2-ext:default-information-originate: - openconfig-ospfv2-ext:config: - openconfig-ospfv2-ext:enabled: True - openconfig-network-instance:areas: - openconfig-network-instance:area: - - openconfig-network-instance:identifier: 0 + openconfig-network-instance:afi-safi-name: IPV4_UNICAST + openconfig-network-instance:enabled: true + openconfig-network-instance:neighbors: + openconfig-network-instance:neighbor: + - openconfig-network-instance:neighbor-address: 10.0.254.1 + openconfig-network-instance:config: + openconfig-network-instance:neighbor-address: 10.0.254.1 + openconfig-network-instance:description: ISP + openconfig-network-instance:peer-as: 99 + openconfig-network-instance:enabled: True + openconfig-network-instance:afi-safis: + openconfig-network-instance:afi-safi: + - openconfig-network-instance:afi-safi-name: IPV4_UNICAST + openconfig-network-instance:config: + openconfig-network-instance:afi-safi-name: IPV4_UNICAST + openconfig-network-instance:enabled: true + - openconfig-network-instance:name: internal_1 + openconfig-network-instance:config: + openconfig-network-instance:name: internal_1 + openconfig-network-instance:type: L3VRF + openconfig-network-instance:enabled: true + openconfig-network-instance:enabled-address-families: + - IPV4 + - IPV6 + openconfig-network-instance:route-distinguisher: '1:1' + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: Loopback0 + openconfig-network-instance:config: + openconfig-network-instance:id: Loopback0 + openconfig-network-instance:interface: Loopback0 + openconfig-network-instance:subinterface: 0 + - openconfig-network-instance:id: GigabitEthernet2.10 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet2.10 + openconfig-network-instance:interface: GigabitEthernet2 + openconfig-network-instance:subinterface: 10 + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: STATIC + openconfig-network-instance:name: DEFAULT + openconfig-network-instance:config: + openconfig-network-instance:identifier: STATIC + openconfig-network-instance:name: DEFAULT + openconfig-network-instance:static-routes: + openconfig-network-instance:static: + - openconfig-network-instance:prefix: 0.0.0.0/0 openconfig-network-instance:config: - openconfig-network-instance:identifier: 0 - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:config: - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:passive: True - - openconfig-network-instance:id: GigabitEthernet2.10 + openconfig-network-instance:prefix: 0.0.0.0/0 + openconfig-network-instance:next-hops: + openconfig-network-instance:next-hop: + - openconfig-network-instance:index: 10.0.254.1 openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet2.10 + openconfig-network-instance:index: 10.0.254.1 + openconfig-network-instance:next-hop: 10.0.254.1 + openconfig-local-routing-ext:global: true + - openconfig-network-instance:identifier: OSPF + openconfig-network-instance:name: '1' + openconfig-network-instance:config: + openconfig-network-instance:enabled: True + openconfig-network-instance:identifier: OSPF + openconfig-network-instance:name: '1' + openconfig-network-instance:ospfv2: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:log-adjacency-changes: True + openconfig-ospfv2-ext:default-information-originate: + openconfig-ospfv2-ext:config: + openconfig-ospfv2-ext:enabled: True + openconfig-network-instance:areas: + openconfig-network-instance:area: + - openconfig-network-instance:identifier: 0 + openconfig-network-instance:config: + openconfig-network-instance:identifier: 0 + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: Loopback0 + openconfig-network-instance:config: + openconfig-network-instance:id: Loopback0 + openconfig-network-instance:passive: True + - openconfig-network-instance:id: GigabitEthernet2.10 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet2.10 diff --git a/mdd-data/org/region1/hq/hq-rtr1/oc-interfaces.yml b/mdd-data/org/region1/hq/hq-rtr1/oc-interfaces.yml index 8500cf0..a8c153c 100644 --- a/mdd-data/org/region1/hq/hq-rtr1/oc-interfaces.yml +++ b/mdd-data/org/region1/hq/hq-rtr1/oc-interfaces.yml @@ -1,137 +1,138 @@ --- mdd_data: - openconfig-interfaces:interfaces: - openconfig-interfaces:interface: - - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 172.16.255.1 - openconfig-if-ip:config: - openconfig-if-ip:ip: 172.16.255.1 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: Loopback100 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback100 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.255.255.11 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.255.255.11 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:config: - openconfig-if-ip:dhcp-client: true - - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.0.0.2 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.0.0.2 - openconfig-if-ip:prefix-length: 30 - - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:config: - openconfig-interfaces:description: 802.1q Trunk - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 10 - openconfig-interfaces:config: - openconfig-interfaces:description: VLAN10 - openconfig-interfaces:enabled: true - openconfig-interfaces:index: 10 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 172.16.0.2 - openconfig-if-ip:config: - openconfig-if-ip:ip: 172.16.0.2 - openconfig-if-ip:prefix-length: 24 - openconfig-if-ip:vrrp: - openconfig-if-ip:vrrp-group: - - openconfig-if-ip:virtual-router-id: 1 - openconfig-if-ip:config: - openconfig-if-ip:virtual-address: - - 172.16.0.1 - openconfig-if-ip:virtual-router-id: 1 - openconfig-vlan:vlan: - openconfig-vlan:config: - openconfig-vlan:vlan-id: 10 - - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.0.3.1 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.0.3.1 - openconfig-if-ip:prefix-length: 30 - - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:type: ethernetCsmacd + mdd:openconfig: + openconfig-interfaces:interfaces: + openconfig-interfaces:interface: + - openconfig-interfaces:name: Loopback0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback0 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 172.16.255.1 + openconfig-if-ip:config: + openconfig-if-ip:ip: 172.16.255.1 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: Loopback100 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback100 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.255.255.11 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.255.255.11 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:config: + openconfig-if-ip:dhcp-client: true + - openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.0.0.2 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.0.0.2 + openconfig-if-ip:prefix-length: 30 + - openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:config: + openconfig-interfaces:description: 802.1q Trunk + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 10 + openconfig-interfaces:config: + openconfig-interfaces:description: VLAN10 + openconfig-interfaces:enabled: true + openconfig-interfaces:index: 10 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 172.16.0.2 + openconfig-if-ip:config: + openconfig-if-ip:ip: 172.16.0.2 + openconfig-if-ip:prefix-length: 24 + openconfig-if-ip:vrrp: + openconfig-if-ip:vrrp-group: + - openconfig-if-ip:virtual-router-id: 1 + openconfig-if-ip:config: + openconfig-if-ip:virtual-address: + - 172.16.0.1 + openconfig-if-ip:virtual-router-id: 1 + openconfig-vlan:vlan: + openconfig-vlan:config: + openconfig-vlan:vlan-id: 10 + - openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.0.3.1 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.0.3.1 + openconfig-if-ip:prefix-length: 30 + - openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:type: ethernetCsmacd mdd_tags: - all diff --git a/mdd-data/org/region1/hq/hq-rtr1/oc-routing.yml b/mdd-data/org/region1/hq/hq-rtr1/oc-routing.yml index 7c3a274..ae41582 100644 --- a/mdd-data/org/region1/hq/hq-rtr1/oc-routing.yml +++ b/mdd-data/org/region1/hq/hq-rtr1/oc-routing.yml @@ -1,39 +1,40 @@ --- mdd_data: - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: default - openconfig-network-instance:mpls: - openconfig-network-instance:signaling-protocols: - openconfig-network-instance:ldp: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:lsr-id: 10.255.255.11 - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:bgp: + mdd:openconfig: + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: default + openconfig-network-instance:mpls: + openconfig-network-instance:signaling-protocols: + openconfig-network-instance:ldp: openconfig-network-instance:global: openconfig-network-instance:config: - openconfig-network-instance:router-id: 10.255.255.11 - - openconfig-network-instance:name: internal_1 - openconfig-network-instance:config: - openconfig-network-instance:route-distinguisher: '1:1' - - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:config: - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:type: L3VRF - openconfig-network-instance:enabled: true - openconfig-network-instance:enabled-address-families: - - IPV4 - - IPV6 - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: GigabitEthernet1 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet1 - openconfig-network-instance:interface: GigabitEthernet1 - openconfig-network-instance:subinterface: 0 + openconfig-network-instance:lsr-id: 10.255.255.11 + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:bgp: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:router-id: 10.255.255.11 + - openconfig-network-instance:name: internal_1 + openconfig-network-instance:config: + openconfig-network-instance:route-distinguisher: '1:1' + - openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:config: + openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:type: L3VRF + openconfig-network-instance:enabled: true + openconfig-network-instance:enabled-address-families: + - IPV4 + - IPV6 + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: GigabitEthernet1 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet1 + openconfig-network-instance:interface: GigabitEthernet1 + openconfig-network-instance:subinterface: 0 mdd_tags: - all diff --git a/mdd-data/org/region1/hq/hq-rtr2/oc-interfaces.yml b/mdd-data/org/region1/hq/hq-rtr2/oc-interfaces.yml index a12f3aa..da3838e 100644 --- a/mdd-data/org/region1/hq/hq-rtr2/oc-interfaces.yml +++ b/mdd-data/org/region1/hq/hq-rtr2/oc-interfaces.yml @@ -1,140 +1,141 @@ --- mdd_data: - openconfig-interfaces:interfaces: - openconfig-interfaces:interface: - - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 172.16.255.2 - openconfig-if-ip:config: - openconfig-if-ip:ip: 172.16.255.2 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: Loopback100 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback100 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.255.255.12 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.255.255.12 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:config: - openconfig-if-ip:dhcp-client: true - - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.0.0.6 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.0.0.6 - openconfig-if-ip:prefix-length: 30 - - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:config: - openconfig-interfaces:description: 802.1q Trunk - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 10 - openconfig-interfaces:config: - openconfig-interfaces:description: VLAN10 - openconfig-interfaces:enabled: true - openconfig-interfaces:index: 10 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 172.16.0.3 - openconfig-if-ip:config: - openconfig-if-ip:ip: 172.16.0.3 - openconfig-if-ip:prefix-length: 24 - openconfig-if-ip:vrrp: - openconfig-if-ip:vrrp-group: - - openconfig-if-ip:virtual-router-id: 1 - openconfig-if-ip:config: - openconfig-if-ip:preempt: true - openconfig-if-ip:preempt-delay: 10 - openconfig-if-ip:priority: 200 - openconfig-if-ip:virtual-address: - - 172.16.0.1 - openconfig-if-ip:virtual-router-id: 1 - openconfig-vlan:vlan: - openconfig-vlan:config: - openconfig-vlan:vlan-id: 10 - - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.0.3.2 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.0.3.2 - openconfig-if-ip:prefix-length: 30 - - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:type: ethernetCsmacd + mdd:openconfig: + openconfig-interfaces:interfaces: + openconfig-interfaces:interface: + - openconfig-interfaces:name: Loopback0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback0 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 172.16.255.2 + openconfig-if-ip:config: + openconfig-if-ip:ip: 172.16.255.2 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: Loopback100 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback100 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.255.255.12 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.255.255.12 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:config: + openconfig-if-ip:dhcp-client: true + - openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.0.0.6 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.0.0.6 + openconfig-if-ip:prefix-length: 30 + - openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:config: + openconfig-interfaces:description: 802.1q Trunk + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 10 + openconfig-interfaces:config: + openconfig-interfaces:description: VLAN10 + openconfig-interfaces:enabled: true + openconfig-interfaces:index: 10 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 172.16.0.3 + openconfig-if-ip:config: + openconfig-if-ip:ip: 172.16.0.3 + openconfig-if-ip:prefix-length: 24 + openconfig-if-ip:vrrp: + openconfig-if-ip:vrrp-group: + - openconfig-if-ip:virtual-router-id: 1 + openconfig-if-ip:config: + openconfig-if-ip:preempt: true + openconfig-if-ip:preempt-delay: 10 + openconfig-if-ip:priority: 200 + openconfig-if-ip:virtual-address: + - 172.16.0.1 + openconfig-if-ip:virtual-router-id: 1 + openconfig-vlan:vlan: + openconfig-vlan:config: + openconfig-vlan:vlan-id: 10 + - openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.0.3.2 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.0.3.2 + openconfig-if-ip:prefix-length: 30 + - openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:type: ethernetCsmacd mdd_tags: - all diff --git a/mdd-data/org/region1/hq/hq-rtr2/oc-routing.yml b/mdd-data/org/region1/hq/hq-rtr2/oc-routing.yml index 209886f..d177e35 100644 --- a/mdd-data/org/region1/hq/hq-rtr2/oc-routing.yml +++ b/mdd-data/org/region1/hq/hq-rtr2/oc-routing.yml @@ -1,39 +1,40 @@ --- mdd_data: - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: default - openconfig-network-instance:mpls: - openconfig-network-instance:signaling-protocols: - openconfig-network-instance:ldp: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:lsr-id: 10.255.255.12 - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:bgp: + mdd:openconfig: + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: default + openconfig-network-instance:mpls: + openconfig-network-instance:signaling-protocols: + openconfig-network-instance:ldp: openconfig-network-instance:global: openconfig-network-instance:config: - openconfig-network-instance:router-id: 10.255.255.12 - - openconfig-network-instance:name: internal_1 - openconfig-network-instance:config: - openconfig-network-instance:route-distinguisher: '1:1' - - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:config: - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:type: L3VRF - openconfig-network-instance:enabled: true - openconfig-network-instance:enabled-address-families: - - IPV4 - - IPV6 - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: GigabitEthernet1 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet1 - openconfig-network-instance:interface: GigabitEthernet1 - openconfig-network-instance:subinterface: 0 + openconfig-network-instance:lsr-id: 10.255.255.12 + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:bgp: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:router-id: 10.255.255.12 + - openconfig-network-instance:name: internal_1 + openconfig-network-instance:config: + openconfig-network-instance:route-distinguisher: '1:1' + - openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:config: + openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:type: L3VRF + openconfig-network-instance:enabled: true + openconfig-network-instance:enabled-address-families: + - IPV4 + - IPV6 + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: GigabitEthernet1 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet1 + openconfig-network-instance:interface: GigabitEthernet1 + openconfig-network-instance:subinterface: 0 mdd_tags: - all diff --git a/mdd-data/org/region1/hq/hq-sw1/oc-interfaces.yml b/mdd-data/org/region1/hq/hq-sw1/oc-interfaces.yml index f7157b2..4d02ece 100644 --- a/mdd-data/org/region1/hq/hq-sw1/oc-interfaces.yml +++ b/mdd-data/org/region1/hq/hq-sw1/oc-interfaces.yml @@ -1,163 +1,164 @@ --- mdd_data: - openconfig-interfaces:interfaces: - openconfig-interfaces:interface: - - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 172.16.255.3 - openconfig-if-ip:config: - openconfig-if-ip:ip: 172.16.255.3 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: Vlan10 - openconfig-interfaces:config: - openconfig-interfaces:description: VLAN10 - openconfig-interfaces:enabled: true - openconfig-interfaces:loopback-mode: false - openconfig-interfaces:mtu: 1500 - openconfig-interfaces:name: Vlan10 - openconfig-interfaces:type: l3ipvlan - openconfig-vlan:routed-vlan: - openconfig-vlan:config: - openconfig-vlan:vlan: 10 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 172.16.0.11 - openconfig-if-ip:config: - openconfig-if-ip:ip: 172.16.0.11 - openconfig-if-ip:prefix-length: 24 - - openconfig-interfaces:name: GigabitEthernet0/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/0 - openconfig-interfaces:type: l2vlan - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:config: - openconfig-if-ip:dhcp-client: true - - openconfig-interfaces:name: GigabitEthernet0/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/1 - openconfig-interfaces:type: l2vlan - openconfig-if-ethernet:ethernet: - openconfig-vlan:switched-vlan: - openconfig-vlan:config: - openconfig-vlan:interface-mode: TRUNK - - openconfig-interfaces:name: GigabitEthernet0/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/2 - openconfig-interfaces:type: l2vlan - openconfig-if-ethernet:ethernet: - openconfig-vlan:switched-vlan: - openconfig-vlan:config: - openconfig-vlan:interface-mode: TRUNK - - openconfig-interfaces:name: GigabitEthernet0/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/3 - openconfig-interfaces:type: l2vlan - - openconfig-interfaces:name: GigabitEthernet1/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/0 - openconfig-interfaces:type: l2vlan - openconfig-if-ethernet:ethernet: - openconfig-vlan:switched-vlan: + mdd:openconfig: + openconfig-interfaces:interfaces: + openconfig-interfaces:interface: + - openconfig-interfaces:name: Loopback0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback0 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 172.16.255.3 + openconfig-if-ip:config: + openconfig-if-ip:ip: 172.16.255.3 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: Vlan10 + openconfig-interfaces:config: + openconfig-interfaces:description: VLAN10 + openconfig-interfaces:enabled: true + openconfig-interfaces:loopback-mode: false + openconfig-interfaces:mtu: 1500 + openconfig-interfaces:name: Vlan10 + openconfig-interfaces:type: l3ipvlan + openconfig-vlan:routed-vlan: openconfig-vlan:config: - openconfig-vlan:access-vlan: 10 - openconfig-vlan:interface-mode: ACCESS - - openconfig-interfaces:name: GigabitEthernet1/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/1 - openconfig-interfaces:type: l2vlan - openconfig-if-ethernet:ethernet: - openconfig-vlan:switched-vlan: - openconfig-vlan:config: - openconfig-vlan:interface-mode: TRUNK - - openconfig-interfaces:name: GigabitEthernet1/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/2 - openconfig-interfaces:type: l2vlan - - openconfig-interfaces:name: GigabitEthernet1/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/3 - openconfig-interfaces:type: l2vlan - - openconfig-interfaces:name: GigabitEthernet2/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/0 - openconfig-interfaces:type: l2vlan - - openconfig-interfaces:name: GigabitEthernet2/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/1 - openconfig-interfaces:type: l2vlan - - openconfig-interfaces:name: GigabitEthernet2/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/2 - openconfig-interfaces:type: l2vlan - - openconfig-interfaces:name: GigabitEthernet2/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/3 - openconfig-interfaces:type: l2vlan - - openconfig-interfaces:name: GigabitEthernet3/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/0 - openconfig-interfaces:type: l2vlan - - openconfig-interfaces:name: GigabitEthernet3/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/1 - openconfig-interfaces:type: l2vlan - - openconfig-interfaces:name: GigabitEthernet3/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/2 - openconfig-interfaces:type: l2vlan - - openconfig-interfaces:name: GigabitEthernet3/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/3 - openconfig-interfaces:type: l2vlan - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:config: - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:type: L3VRF - openconfig-network-instance:enabled: true - openconfig-network-instance:enabled-address-families: - - IPV4 - - IPV6 - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: GigabitEthernet0/0 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet0/0 - openconfig-network-instance:interface: GigabitEthernet0/0 - openconfig-network-instance:subinterface: 0 + openconfig-vlan:vlan: 10 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 172.16.0.11 + openconfig-if-ip:config: + openconfig-if-ip:ip: 172.16.0.11 + openconfig-if-ip:prefix-length: 24 + - openconfig-interfaces:name: GigabitEthernet0/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/0 + openconfig-interfaces:type: l2vlan + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:config: + openconfig-if-ip:dhcp-client: true + - openconfig-interfaces:name: GigabitEthernet0/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/1 + openconfig-interfaces:type: l2vlan + openconfig-if-ethernet:ethernet: + openconfig-vlan:switched-vlan: + openconfig-vlan:config: + openconfig-vlan:interface-mode: TRUNK + - openconfig-interfaces:name: GigabitEthernet0/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/2 + openconfig-interfaces:type: l2vlan + openconfig-if-ethernet:ethernet: + openconfig-vlan:switched-vlan: + openconfig-vlan:config: + openconfig-vlan:interface-mode: TRUNK + - openconfig-interfaces:name: GigabitEthernet0/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/3 + openconfig-interfaces:type: l2vlan + - openconfig-interfaces:name: GigabitEthernet1/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/0 + openconfig-interfaces:type: l2vlan + openconfig-if-ethernet:ethernet: + openconfig-vlan:switched-vlan: + openconfig-vlan:config: + openconfig-vlan:access-vlan: 10 + openconfig-vlan:interface-mode: ACCESS + - openconfig-interfaces:name: GigabitEthernet1/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/1 + openconfig-interfaces:type: l2vlan + openconfig-if-ethernet:ethernet: + openconfig-vlan:switched-vlan: + openconfig-vlan:config: + openconfig-vlan:interface-mode: TRUNK + - openconfig-interfaces:name: GigabitEthernet1/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/2 + openconfig-interfaces:type: l2vlan + - openconfig-interfaces:name: GigabitEthernet1/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/3 + openconfig-interfaces:type: l2vlan + - openconfig-interfaces:name: GigabitEthernet2/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/0 + openconfig-interfaces:type: l2vlan + - openconfig-interfaces:name: GigabitEthernet2/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/1 + openconfig-interfaces:type: l2vlan + - openconfig-interfaces:name: GigabitEthernet2/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/2 + openconfig-interfaces:type: l2vlan + - openconfig-interfaces:name: GigabitEthernet2/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/3 + openconfig-interfaces:type: l2vlan + - openconfig-interfaces:name: GigabitEthernet3/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/0 + openconfig-interfaces:type: l2vlan + - openconfig-interfaces:name: GigabitEthernet3/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/1 + openconfig-interfaces:type: l2vlan + - openconfig-interfaces:name: GigabitEthernet3/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/2 + openconfig-interfaces:type: l2vlan + - openconfig-interfaces:name: GigabitEthernet3/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/3 + openconfig-interfaces:type: l2vlan + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:config: + openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:type: L3VRF + openconfig-network-instance:enabled: true + openconfig-network-instance:enabled-address-families: + - IPV4 + - IPV6 + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: GigabitEthernet0/0 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet0/0 + openconfig-network-instance:interface: GigabitEthernet0/0 + openconfig-network-instance:subinterface: 0 mdd_tags: - all diff --git a/mdd-data/org/region1/hq/hq-sw1/oc-stp.yml b/mdd-data/org/region1/hq/hq-sw1/oc-stp.yml index 4e3b09b..39f7ed6 100644 --- a/mdd-data/org/region1/hq/hq-sw1/oc-stp.yml +++ b/mdd-data/org/region1/hq/hq-sw1/oc-stp.yml @@ -2,113 +2,114 @@ mdd_tags: - switch mdd_data: - openconfig-spanning-tree:stp: - openconfig-spanning-tree:global: - openconfig-spanning-tree:config: - openconfig-spanning-tree:enabled-protocol: - - RAPID_PVST - openconfig-spanning-tree:rapid-pvst: - openconfig-spanning-tree:vlan: - - openconfig-spanning-tree:vlan-id: 10 - openconfig-spanning-tree:config: - openconfig-spanning-tree:vlan-id: 10 - openconfig-spanning-tree:bridge-priority: 16384 - - openconfig-spanning-tree:vlan-id: 100 - openconfig-spanning-tree:config: - openconfig-spanning-tree:vlan-id: 100 - openconfig-spanning-tree:bridge-priority: 16384 - - openconfig-spanning-tree:vlan-id: 101 - openconfig-spanning-tree:config: - openconfig-spanning-tree:vlan-id: 101 - openconfig-spanning-tree:bridge-priority: 16384 - openconfig-spanning-tree:interfaces: - openconfig-spanning-tree:interface: - - openconfig-spanning-tree:name: 'GigabitEthernet0/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_ENABLE - - openconfig-spanning-tree:name: 'GigabitEthernet0/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/2' - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_DISABLE - - openconfig-spanning-tree:name: 'GigabitEthernet0/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_ENABLE - - openconfig-spanning-tree:name: 'GigabitEthernet1/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO + mdd:openconfig: + openconfig-spanning-tree:stp: + openconfig-spanning-tree:global: + openconfig-spanning-tree:config: + openconfig-spanning-tree:enabled-protocol: + - RAPID_PVST + openconfig-spanning-tree:rapid-pvst: + openconfig-spanning-tree:vlan: + - openconfig-spanning-tree:vlan-id: 10 + openconfig-spanning-tree:config: + openconfig-spanning-tree:vlan-id: 10 + openconfig-spanning-tree:bridge-priority: 16384 + - openconfig-spanning-tree:vlan-id: 100 + openconfig-spanning-tree:config: + openconfig-spanning-tree:vlan-id: 100 + openconfig-spanning-tree:bridge-priority: 16384 + - openconfig-spanning-tree:vlan-id: 101 + openconfig-spanning-tree:config: + openconfig-spanning-tree:vlan-id: 101 + openconfig-spanning-tree:bridge-priority: 16384 + openconfig-spanning-tree:interfaces: + openconfig-spanning-tree:interface: + - openconfig-spanning-tree:name: 'GigabitEthernet0/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_ENABLE + - openconfig-spanning-tree:name: 'GigabitEthernet0/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/2' + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_DISABLE + - openconfig-spanning-tree:name: 'GigabitEthernet0/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_ENABLE + - openconfig-spanning-tree:name: 'GigabitEthernet1/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO diff --git a/mdd-data/org/region1/hq/hq-sw2/oc-interfaces.yml b/mdd-data/org/region1/hq/hq-sw2/oc-interfaces.yml index e0aad55..9b74ff4 100644 --- a/mdd-data/org/region1/hq/hq-sw2/oc-interfaces.yml +++ b/mdd-data/org/region1/hq/hq-sw2/oc-interfaces.yml @@ -1,159 +1,160 @@ --- mdd_data: - openconfig-interfaces:interfaces: - openconfig-interfaces:interface: - - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 172.16.255.4 - openconfig-if-ip:config: - openconfig-if-ip:ip: 172.16.255.4 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: Vlan10 - openconfig-interfaces:config: - openconfig-interfaces:description: VLAN10 - openconfig-interfaces:enabled: true - openconfig-interfaces:loopback-mode: false - openconfig-interfaces:mtu: 1500 - openconfig-interfaces:name: Vlan10 - openconfig-interfaces:type: l3ipvlan - openconfig-vlan:routed-vlan: - openconfig-vlan:config: - openconfig-vlan:vlan: 10 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 172.16.0.12 - openconfig-if-ip:config: - openconfig-if-ip:ip: 172.16.0.12 - openconfig-if-ip:prefix-length: 24 - - openconfig-interfaces:name: GigabitEthernet0/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/0 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:config: - openconfig-if-ip:dhcp-client: true - - openconfig-interfaces:name: GigabitEthernet0/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/1 - openconfig-interfaces:type: l2vlan - openconfig-if-ethernet:ethernet: - openconfig-vlan:switched-vlan: - openconfig-vlan:config: - openconfig-vlan:interface-mode: TRUNK - - openconfig-interfaces:name: GigabitEthernet0/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/2 - openconfig-interfaces:type: l2vlan - openconfig-if-ethernet:ethernet: - openconfig-vlan:switched-vlan: + mdd:openconfig: + openconfig-interfaces:interfaces: + openconfig-interfaces:interface: + - openconfig-interfaces:name: Loopback0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback0 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 172.16.255.4 + openconfig-if-ip:config: + openconfig-if-ip:ip: 172.16.255.4 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: Vlan10 + openconfig-interfaces:config: + openconfig-interfaces:description: VLAN10 + openconfig-interfaces:enabled: true + openconfig-interfaces:loopback-mode: false + openconfig-interfaces:mtu: 1500 + openconfig-interfaces:name: Vlan10 + openconfig-interfaces:type: l3ipvlan + openconfig-vlan:routed-vlan: openconfig-vlan:config: - openconfig-vlan:interface-mode: TRUNK - - openconfig-interfaces:name: GigabitEthernet0/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/3 - openconfig-interfaces:type: l2vlan - openconfig-if-ethernet:ethernet: - openconfig-vlan:switched-vlan: - openconfig-vlan:config: - openconfig-vlan:access-vlan: 10 - openconfig-vlan:interface-mode: ACCESS - - openconfig-interfaces:name: GigabitEthernet1/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/0 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet1/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/1 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet1/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/2 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet1/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/3 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/0 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/1 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/2 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/3 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/0 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/1 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/2 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/3 - openconfig-interfaces:type: ethernetCsmacd - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:config: - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:type: L3VRF - openconfig-network-instance:enabled: true - openconfig-network-instance:enabled-address-families: - - IPV4 - - IPV6 - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: GigabitEthernet0/0 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet0/0 - openconfig-network-instance:interface: GigabitEthernet0/0 - openconfig-network-instance:subinterface: 0 + openconfig-vlan:vlan: 10 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 172.16.0.12 + openconfig-if-ip:config: + openconfig-if-ip:ip: 172.16.0.12 + openconfig-if-ip:prefix-length: 24 + - openconfig-interfaces:name: GigabitEthernet0/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/0 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:config: + openconfig-if-ip:dhcp-client: true + - openconfig-interfaces:name: GigabitEthernet0/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/1 + openconfig-interfaces:type: l2vlan + openconfig-if-ethernet:ethernet: + openconfig-vlan:switched-vlan: + openconfig-vlan:config: + openconfig-vlan:interface-mode: TRUNK + - openconfig-interfaces:name: GigabitEthernet0/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/2 + openconfig-interfaces:type: l2vlan + openconfig-if-ethernet:ethernet: + openconfig-vlan:switched-vlan: + openconfig-vlan:config: + openconfig-vlan:interface-mode: TRUNK + - openconfig-interfaces:name: GigabitEthernet0/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/3 + openconfig-interfaces:type: l2vlan + openconfig-if-ethernet:ethernet: + openconfig-vlan:switched-vlan: + openconfig-vlan:config: + openconfig-vlan:access-vlan: 10 + openconfig-vlan:interface-mode: ACCESS + - openconfig-interfaces:name: GigabitEthernet1/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/0 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet1/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/1 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet1/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/2 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet1/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/3 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/0 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/1 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/2 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/3 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/0 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/1 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/2 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/3 + openconfig-interfaces:type: ethernetCsmacd + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:config: + openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:type: L3VRF + openconfig-network-instance:enabled: true + openconfig-network-instance:enabled-address-families: + - IPV4 + - IPV6 + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: GigabitEthernet0/0 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet0/0 + openconfig-network-instance:interface: GigabitEthernet0/0 + openconfig-network-instance:subinterface: 0 mdd_tags: - all diff --git a/mdd-data/org/region1/hq/hq-sw2/oc-stp.yml b/mdd-data/org/region1/hq/hq-sw2/oc-stp.yml index 274d568..44404e7 100644 --- a/mdd-data/org/region1/hq/hq-sw2/oc-stp.yml +++ b/mdd-data/org/region1/hq/hq-sw2/oc-stp.yml @@ -2,113 +2,114 @@ mdd_tags: - switch mdd_data: - openconfig-spanning-tree:stp: - openconfig-spanning-tree:global: - openconfig-spanning-tree:config: - openconfig-spanning-tree:enabled-protocol: - - RAPID_PVST - openconfig-spanning-tree:rapid-pvst: - openconfig-spanning-tree:vlan: - - openconfig-spanning-tree:vlan-id: 10 - openconfig-spanning-tree:config: - openconfig-spanning-tree:vlan-id: 10 - openconfig-spanning-tree:bridge-priority: 32768 - - openconfig-spanning-tree:vlan-id: 100 - openconfig-spanning-tree:config: - openconfig-spanning-tree:vlan-id: 100 - openconfig-spanning-tree:bridge-priority: 32768 - - openconfig-spanning-tree:vlan-id: 101 - openconfig-spanning-tree:config: - openconfig-spanning-tree:vlan-id: 101 - openconfig-spanning-tree:bridge-priority: 32768 - openconfig-spanning-tree:interfaces: - openconfig-spanning-tree:interface: - - openconfig-spanning-tree:name: 'GigabitEthernet0/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_ENABLE - - openconfig-spanning-tree:name: 'GigabitEthernet0/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/2' - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_DISABLE - - openconfig-spanning-tree:name: 'GigabitEthernet0/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_ENABLE - - openconfig-spanning-tree:name: 'GigabitEthernet1/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO + mdd:openconfig: + openconfig-spanning-tree:stp: + openconfig-spanning-tree:global: + openconfig-spanning-tree:config: + openconfig-spanning-tree:enabled-protocol: + - RAPID_PVST + openconfig-spanning-tree:rapid-pvst: + openconfig-spanning-tree:vlan: + - openconfig-spanning-tree:vlan-id: 10 + openconfig-spanning-tree:config: + openconfig-spanning-tree:vlan-id: 10 + openconfig-spanning-tree:bridge-priority: 32768 + - openconfig-spanning-tree:vlan-id: 100 + openconfig-spanning-tree:config: + openconfig-spanning-tree:vlan-id: 100 + openconfig-spanning-tree:bridge-priority: 32768 + - openconfig-spanning-tree:vlan-id: 101 + openconfig-spanning-tree:config: + openconfig-spanning-tree:vlan-id: 101 + openconfig-spanning-tree:bridge-priority: 32768 + openconfig-spanning-tree:interfaces: + openconfig-spanning-tree:interface: + - openconfig-spanning-tree:name: 'GigabitEthernet0/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_ENABLE + - openconfig-spanning-tree:name: 'GigabitEthernet0/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/2' + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_DISABLE + - openconfig-spanning-tree:name: 'GigabitEthernet0/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_ENABLE + - openconfig-spanning-tree:name: 'GigabitEthernet1/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO diff --git a/mdd-data/org/region1/hq/oc-routing.yml b/mdd-data/org/region1/hq/oc-routing.yml index 18180c0..0e983c3 100644 --- a/mdd-data/org/region1/hq/oc-routing.yml +++ b/mdd-data/org/region1/hq/oc-routing.yml @@ -1,385 +1,386 @@ --- mdd_data: - openconfig-routing-policy:routing-policy: - openconfig-routing-policy:defined-sets: - openconfig-routing-policy:tag-sets: - openconfig-routing-policy:tag-set: - - openconfig-routing-policy:name: '9999' - openconfig-routing-policy:config: - openconfig-routing-policy:name: '9999' - openconfig-routing-policy:tag-value: - - '9999' - openconfig-routing-policy:prefix-sets: - openconfig-routing-policy:prefix-set: - - openconfig-routing-policy:name: DEFAULT - openconfig-routing-policy:config: - openconfig-routing-policy:name: DEFAULT - openconfig-routing-policy:mode: IPV4 - openconfig-routing-policy:prefixes: - openconfig-routing-policy:prefix: - - openconfig-routing-policy:ip-prefix: 0.0.0.0/0 - openconfig-routing-policy:masklength-range: exact - openconfig-routing-policy:config: - openconfig-routing-policy:ip-prefix: 0.0.0.0/0 + mdd:openconfig: + openconfig-routing-policy:routing-policy: + openconfig-routing-policy:defined-sets: + openconfig-routing-policy:tag-sets: + openconfig-routing-policy:tag-set: + - openconfig-routing-policy:name: '9999' + openconfig-routing-policy:config: + openconfig-routing-policy:name: '9999' + openconfig-routing-policy:tag-value: + - '9999' + openconfig-routing-policy:prefix-sets: + openconfig-routing-policy:prefix-set: + - openconfig-routing-policy:name: DEFAULT + openconfig-routing-policy:config: + openconfig-routing-policy:name: DEFAULT + openconfig-routing-policy:mode: IPV4 + openconfig-routing-policy:prefixes: + openconfig-routing-policy:prefix: + - openconfig-routing-policy:ip-prefix: 0.0.0.0/0 openconfig-routing-policy:masklength-range: exact - openconfig-routing-policy-ext:seq: 5 - - openconfig-routing-policy:name: 'LOCAL-PREFIXES' - openconfig-routing-policy:config: - openconfig-routing-policy:name: 'LOCAL-PREFIXES' - openconfig-routing-policy:mode: IPV4 - openconfig-routing-policy:prefixes: - openconfig-routing-policy:prefix: - - openconfig-routing-policy:ip-prefix: 172.16.0.0/24 - openconfig-routing-policy:masklength-range: exact - openconfig-routing-policy:config: - openconfig-routing-policy:ip-prefix: 172.16.0.0/24 + openconfig-routing-policy:config: + openconfig-routing-policy:ip-prefix: 0.0.0.0/0 + openconfig-routing-policy:masklength-range: exact + openconfig-routing-policy-ext:seq: 5 + - openconfig-routing-policy:name: 'LOCAL-PREFIXES' + openconfig-routing-policy:config: + openconfig-routing-policy:name: 'LOCAL-PREFIXES' + openconfig-routing-policy:mode: IPV4 + openconfig-routing-policy:prefixes: + openconfig-routing-policy:prefix: + - openconfig-routing-policy:ip-prefix: 172.16.0.0/24 openconfig-routing-policy:masklength-range: exact - openconfig-routing-policy-ext:seq: 5 - - openconfig-routing-policy:ip-prefix: 172.16.255.1/32 - openconfig-routing-policy:masklength-range: exact - openconfig-routing-policy:config: - openconfig-routing-policy:ip-prefix: 172.16.255.1/32 + openconfig-routing-policy:config: + openconfig-routing-policy:ip-prefix: 172.16.0.0/24 + openconfig-routing-policy:masklength-range: exact + openconfig-routing-policy-ext:seq: 5 + - openconfig-routing-policy:ip-prefix: 172.16.255.1/32 openconfig-routing-policy:masklength-range: exact - openconfig-routing-policy-ext:seq: 10 - - openconfig-routing-policy:ip-prefix: 172.16.255.2/32 - openconfig-routing-policy:masklength-range: exact - openconfig-routing-policy:config: - openconfig-routing-policy:ip-prefix: 172.16.255.2/32 + openconfig-routing-policy:config: + openconfig-routing-policy:ip-prefix: 172.16.255.1/32 + openconfig-routing-policy:masklength-range: exact + openconfig-routing-policy-ext:seq: 10 + - openconfig-routing-policy:ip-prefix: 172.16.255.2/32 openconfig-routing-policy:masklength-range: exact - openconfig-routing-policy-ext:seq: 15 - openconfig-bgp-policy:bgp-defined-sets: - openconfig-bgp-policy:ext-community-sets: - openconfig-bgp-policy:ext-community-set: - - openconfig-bgp-policy:ext-community-set-name: import-ext-community-set - openconfig-bgp-policy:config: - openconfig-bgp-policy:ext-community-set-name: import-ext-community-set - openconfig-bgp-policy:match-set-options: ANY - openconfig-bgp-policy:ext-community-member: - - "1:1" - - openconfig-bgp-policy:ext-community-set-name: export-ext-community-set - openconfig-bgp-policy:config: - openconfig-bgp-policy:ext-community-set-name: export-ext-community-set - openconfig-bgp-policy:match-set-options: ANY - openconfig-bgp-policy:ext-community-member: - - "1:1" - openconfig-routing-policy:policy-definitions: - openconfig-routing-policy:policy-definition: - - openconfig-routing-policy:name: from_ospf - openconfig-routing-policy:config: - openconfig-routing-policy:name: from_ospf - openconfig-routing-policy:statements: - openconfig-routing-policy:statement: - - openconfig-routing-policy:name: '10' - openconfig-routing-policy:config: - openconfig-routing-policy:name: '10' - openconfig-routing-policy:conditions: - openconfig-routing-policy:match-tag-set: openconfig-routing-policy:config: - openconfig-routing-policy:tag-set: '9999' - openconfig-routing-policy:match-set-options: ANY - openconfig-routing-policy:actions: + openconfig-routing-policy:ip-prefix: 172.16.255.2/32 + openconfig-routing-policy:masklength-range: exact + openconfig-routing-policy-ext:seq: 15 + openconfig-bgp-policy:bgp-defined-sets: + openconfig-bgp-policy:ext-community-sets: + openconfig-bgp-policy:ext-community-set: + - openconfig-bgp-policy:ext-community-set-name: import-ext-community-set + openconfig-bgp-policy:config: + openconfig-bgp-policy:ext-community-set-name: import-ext-community-set + openconfig-bgp-policy:match-set-options: ANY + openconfig-bgp-policy:ext-community-member: + - "1:1" + - openconfig-bgp-policy:ext-community-set-name: export-ext-community-set + openconfig-bgp-policy:config: + openconfig-bgp-policy:ext-community-set-name: export-ext-community-set + openconfig-bgp-policy:match-set-options: ANY + openconfig-bgp-policy:ext-community-member: + - "1:1" + openconfig-routing-policy:policy-definitions: + openconfig-routing-policy:policy-definition: + - openconfig-routing-policy:name: from_ospf + openconfig-routing-policy:config: + openconfig-routing-policy:name: from_ospf + openconfig-routing-policy:statements: + openconfig-routing-policy:statement: + - openconfig-routing-policy:name: '10' openconfig-routing-policy:config: - openconfig-routing-policy:policy-result: REJECT_ROUTE - - openconfig-routing-policy:name: '20' - openconfig-routing-policy:config: - openconfig-routing-policy:name: '20' - openconfig-routing-policy:actions: + openconfig-routing-policy:name: '10' + openconfig-routing-policy:conditions: + openconfig-routing-policy:match-tag-set: + openconfig-routing-policy:config: + openconfig-routing-policy:tag-set: '9999' + openconfig-routing-policy:match-set-options: ANY + openconfig-routing-policy:actions: + openconfig-routing-policy:config: + openconfig-routing-policy:policy-result: REJECT_ROUTE + - openconfig-routing-policy:name: '20' openconfig-routing-policy:config: - openconfig-routing-policy:policy-result: ACCEPT_ROUTE - - openconfig-routing-policy:name: to_ospf - openconfig-routing-policy:config: - openconfig-routing-policy:name: to_ospf - openconfig-routing-policy:statements: - openconfig-routing-policy:statement: - - openconfig-routing-policy:name: '10' - openconfig-routing-policy:config: - openconfig-routing-policy:name: '10' - openconfig-routing-policy:actions: + openconfig-routing-policy:name: '20' + openconfig-routing-policy:actions: + openconfig-routing-policy:config: + openconfig-routing-policy:policy-result: ACCEPT_ROUTE + - openconfig-routing-policy:name: to_ospf + openconfig-routing-policy:config: + openconfig-routing-policy:name: to_ospf + openconfig-routing-policy:statements: + openconfig-routing-policy:statement: + - openconfig-routing-policy:name: '10' openconfig-routing-policy:config: - openconfig-routing-policy:policy-result: ACCEPT_ROUTE - openconfig-routing-policy:set-tag: + openconfig-routing-policy:name: '10' + openconfig-routing-policy:actions: openconfig-routing-policy:config: - openconfig-routing-policy:mode: INLINE - openconfig-routing-policy:inline: + openconfig-routing-policy:policy-result: ACCEPT_ROUTE + openconfig-routing-policy:set-tag: openconfig-routing-policy:config: - openconfig-routing-policy:tag: - - '9999' - - openconfig-routing-policy:name: from_wan - openconfig-routing-policy:config: - openconfig-routing-policy:name: from_wan - openconfig-routing-policy:statements: - openconfig-routing-policy:statement: - - openconfig-routing-policy:name: '10' - openconfig-routing-policy:config: - openconfig-routing-policy:name: '10' - openconfig-routing-policy:conditions: - openconfig-routing-policy:match-prefix-set: - openconfig-routing-policy:config: - openconfig-routing-policy:prefix-set: DEFAULT - openconfig-routing-policy:match-set-options: ANY - openconfig-routing-policy:actions: + openconfig-routing-policy:mode: INLINE + openconfig-routing-policy:inline: + openconfig-routing-policy:config: + openconfig-routing-policy:tag: + - '9999' + - openconfig-routing-policy:name: from_wan + openconfig-routing-policy:config: + openconfig-routing-policy:name: from_wan + openconfig-routing-policy:statements: + openconfig-routing-policy:statement: + - openconfig-routing-policy:name: '10' openconfig-routing-policy:config: - openconfig-routing-policy:policy-result: REJECT_ROUTE - - openconfig-routing-policy:name: '20' - openconfig-routing-policy:config: - openconfig-routing-policy:name: '20' - openconfig-routing-policy:conditions: - openconfig-routing-policy:match-prefix-set: + openconfig-routing-policy:name: '10' + openconfig-routing-policy:conditions: + openconfig-routing-policy:match-prefix-set: + openconfig-routing-policy:config: + openconfig-routing-policy:prefix-set: DEFAULT + openconfig-routing-policy:match-set-options: ANY + openconfig-routing-policy:actions: openconfig-routing-policy:config: - openconfig-routing-policy:prefix-set: 'LOCAL-PREFIXES' - openconfig-routing-policy:match-set-options: ANY - openconfig-routing-policy:actions: + openconfig-routing-policy:policy-result: REJECT_ROUTE + - openconfig-routing-policy:name: '20' openconfig-routing-policy:config: - openconfig-routing-policy:policy-result: REJECT_ROUTE - - openconfig-routing-policy:name: '30' - openconfig-routing-policy:config: - openconfig-routing-policy:name: '30' - openconfig-routing-policy:actions: + openconfig-routing-policy:name: '20' + openconfig-routing-policy:conditions: + openconfig-routing-policy:match-prefix-set: + openconfig-routing-policy:config: + openconfig-routing-policy:prefix-set: 'LOCAL-PREFIXES' + openconfig-routing-policy:match-set-options: ANY + openconfig-routing-policy:actions: + openconfig-routing-policy:config: + openconfig-routing-policy:policy-result: REJECT_ROUTE + - openconfig-routing-policy:name: '30' openconfig-routing-policy:config: - openconfig-routing-policy:policy-result: ACCEPT_ROUTE - - openconfig-routing-policy:name: import-route-target - openconfig-routing-policy:config: - openconfig-routing-policy:name: import-route-target - openconfig-routing-policy:statements: - openconfig-routing-policy:statement: - - openconfig-routing-policy:name: '10' - openconfig-routing-policy:config: - openconfig-routing-policy:name: '10' - openconfig-routing-policy:conditions: - openconfig-bgp-policy:bgp-conditions: - openconfig-bgp-policy:config: - openconfig-bgp-policy:ext-community-set: import-ext-community-set - openconfig-routing-policy:actions: + openconfig-routing-policy:name: '30' + openconfig-routing-policy:actions: + openconfig-routing-policy:config: + openconfig-routing-policy:policy-result: ACCEPT_ROUTE + - openconfig-routing-policy:name: import-route-target + openconfig-routing-policy:config: + openconfig-routing-policy:name: import-route-target + openconfig-routing-policy:statements: + openconfig-routing-policy:statement: + - openconfig-routing-policy:name: '10' openconfig-routing-policy:config: - openconfig-routing-policy:policy-result: ACCEPT_ROUTE - - openconfig-routing-policy:name: export-route-target - openconfig-routing-policy:config: - openconfig-routing-policy:name: export-route-target - openconfig-routing-policy:statements: - openconfig-routing-policy:statement: - - openconfig-routing-policy:name: '10' - openconfig-routing-policy:config: - openconfig-routing-policy:name: '10' - openconfig-routing-policy:conditions: - openconfig-bgp-policy:bgp-conditions: - openconfig-bgp-policy:config: - openconfig-bgp-policy:ext-community-set: export-ext-community-set - openconfig-routing-policy:actions: + openconfig-routing-policy:name: '10' + openconfig-routing-policy:conditions: + openconfig-bgp-policy:bgp-conditions: + openconfig-bgp-policy:config: + openconfig-bgp-policy:ext-community-set: import-ext-community-set + openconfig-routing-policy:actions: + openconfig-routing-policy:config: + openconfig-routing-policy:policy-result: ACCEPT_ROUTE + - openconfig-routing-policy:name: export-route-target + openconfig-routing-policy:config: + openconfig-routing-policy:name: export-route-target + openconfig-routing-policy:statements: + openconfig-routing-policy:statement: + - openconfig-routing-policy:name: '10' openconfig-routing-policy:config: - openconfig-routing-policy:policy-result: ACCEPT_ROUTE - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: default - openconfig-network-instance:config: - openconfig-network-instance:name: default - openconfig-network-instance:type: DEFAULT_INSTANCE - openconfig-network-instance:enabled: true - openconfig-network-instance:mpls: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:ttl-propagation: true - openconfig-network-instance:interface-attributes: - openconfig-network-instance:interface: - - openconfig-network-instance:interface-id: GigabitEthernet2 - openconfig-network-instance:config: - openconfig-network-instance:interface-id: GigabitEthernet2 - openconfig-network-instance:mpls-enabled: true - openconfig-network-instance:interface-ref: + openconfig-routing-policy:name: '10' + openconfig-routing-policy:conditions: + openconfig-bgp-policy:bgp-conditions: + openconfig-bgp-policy:config: + openconfig-bgp-policy:ext-community-set: export-ext-community-set + openconfig-routing-policy:actions: + openconfig-routing-policy:config: + openconfig-routing-policy:policy-result: ACCEPT_ROUTE + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: default + openconfig-network-instance:config: + openconfig-network-instance:name: default + openconfig-network-instance:type: DEFAULT_INSTANCE + openconfig-network-instance:enabled: true + openconfig-network-instance:mpls: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:ttl-propagation: true + openconfig-network-instance:interface-attributes: + openconfig-network-instance:interface: + - openconfig-network-instance:interface-id: GigabitEthernet2 openconfig-network-instance:config: - openconfig-network-instance:interface: GigabitEthernet2 - openconfig-network-instance:subinterface: 0 - - openconfig-network-instance:interface-id: GigabitEthernet4 - openconfig-network-instance:config: - openconfig-network-instance:interface-id: GigabitEthernet4 - openconfig-network-instance:mpls-enabled: true - openconfig-network-instance:interface-ref: + openconfig-network-instance:interface-id: GigabitEthernet2 + openconfig-network-instance:mpls-enabled: true + openconfig-network-instance:interface-ref: + openconfig-network-instance:config: + openconfig-network-instance:interface: GigabitEthernet2 + openconfig-network-instance:subinterface: 0 + - openconfig-network-instance:interface-id: GigabitEthernet4 openconfig-network-instance:config: - openconfig-network-instance:interface: GigabitEthernet4 - openconfig-network-instance:subinterface: 0 - openconfig-network-instance:signaling-protocols: - openconfig-network-instance:ldp: - openconfig-network-instance:global: - openconfig-network-instance:graceful-restart: - openconfig-network-instance:config: - openconfig-network-instance:enabled: false - openconfig-network-instance:interface-attributes: - openconfig-network-instance:config: - openconfig-network-instance:hello-holdtime: 15 - openconfig-network-instance:hello-interval: 5 - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: OSPF - openconfig-network-instance:name: '100' - openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:identifier: OSPF - openconfig-network-instance:name: '100' - openconfig-network-instance:ospfv2: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:log-adjacency-changes: True - openconfig-network-instance:areas: - openconfig-network-instance:area: - - openconfig-network-instance:identifier: 0 + openconfig-network-instance:interface-id: GigabitEthernet4 + openconfig-network-instance:mpls-enabled: true + openconfig-network-instance:interface-ref: openconfig-network-instance:config: - openconfig-network-instance:identifier: 0 - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: Loopback100 - openconfig-network-instance:config: - openconfig-network-instance:id: Loopback100 - openconfig-network-instance:passive: True - - openconfig-network-instance:id: GigabitEthernet2 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet2 - - openconfig-network-instance:id: GigabitEthernet4 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet4 - - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:bgp: + openconfig-network-instance:interface: GigabitEthernet4 + openconfig-network-instance:subinterface: 0 + openconfig-network-instance:signaling-protocols: + openconfig-network-instance:ldp: openconfig-network-instance:global: + openconfig-network-instance:graceful-restart: + openconfig-network-instance:config: + openconfig-network-instance:enabled: false + openconfig-network-instance:interface-attributes: openconfig-network-instance:config: - openconfig-network-instance:as: 65100 - openconfig-bgp-ext:log-neighbor-changes: true - openconfig-network-instance:use-multiple-paths: + openconfig-network-instance:hello-holdtime: 15 + openconfig-network-instance:hello-interval: 5 + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: OSPF + openconfig-network-instance:name: '100' + openconfig-network-instance:config: + openconfig-network-instance:enabled: True + openconfig-network-instance:identifier: OSPF + openconfig-network-instance:name: '100' + openconfig-network-instance:ospfv2: + openconfig-network-instance:global: openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:ibgp: - openconfig-network-instance:config: - openconfig-network-instance:maximum-paths: 2 - openconfig-network-instance:afi-safis: - openconfig-network-instance:afi-safi: - - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:log-adjacency-changes: True + openconfig-network-instance:areas: + openconfig-network-instance:area: + - openconfig-network-instance:identifier: 0 openconfig-network-instance:config: - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST - openconfig-network-instance:enabled: true - openconfig-network-instance:neighbors: - openconfig-network-instance:neighbor: - - openconfig-network-instance:neighbor-address: 10.255.255.1 + openconfig-network-instance:identifier: 0 + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: Loopback100 + openconfig-network-instance:config: + openconfig-network-instance:id: Loopback100 + openconfig-network-instance:passive: True + - openconfig-network-instance:id: GigabitEthernet2 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet2 + - openconfig-network-instance:id: GigabitEthernet4 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet4 + - openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:config: + openconfig-network-instance:enabled: True + openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:bgp: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:as: 65100 + openconfig-bgp-ext:log-neighbor-changes: true + openconfig-network-instance:use-multiple-paths: openconfig-network-instance:config: - openconfig-network-instance:neighbor-address: 10.255.255.1 - openconfig-network-instance:description: WAN RR - openconfig-network-instance:peer-as: 65100 - openconfig-network-instance:send-community: BOTH openconfig-network-instance:enabled: True - openconfig-network-instance:transport: + openconfig-network-instance:ibgp: openconfig-network-instance:config: - openconfig-network-instance:local-address: Loopback100 - openconfig-network-instance:afi-safis: - openconfig-network-instance:afi-safi: - - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST - openconfig-network-instance:config: - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST - openconfig-network-instance:enabled: true - openconfig-network-instance:apply-policy: + openconfig-network-instance:maximum-paths: 2 + openconfig-network-instance:afi-safis: + openconfig-network-instance:afi-safi: + - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:config: + openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:enabled: true + openconfig-network-instance:neighbors: + openconfig-network-instance:neighbor: + - openconfig-network-instance:neighbor-address: 10.255.255.1 + openconfig-network-instance:config: + openconfig-network-instance:neighbor-address: 10.255.255.1 + openconfig-network-instance:description: WAN RR + openconfig-network-instance:peer-as: 65100 + openconfig-network-instance:send-community: BOTH + openconfig-network-instance:enabled: True + openconfig-network-instance:transport: + openconfig-network-instance:config: + openconfig-network-instance:local-address: Loopback100 + openconfig-network-instance:afi-safis: + openconfig-network-instance:afi-safi: + - openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST openconfig-network-instance:config: - openconfig-network-instance:import-policy: - - from_wan - - openconfig-network-instance:name: internal_1 - openconfig-network-instance:config: - openconfig-network-instance:name: internal_1 - openconfig-network-instance:type: L3VRF - openconfig-network-instance:enabled: true - openconfig-network-instance:enabled-address-families: - - IPV4 - - IPV6 - openconfig-network-instance:route-distinguisher: '1:1' - openconfig-network-instance:inter-instance-policies: - openconfig-network-instance:apply-policy: - openconfig-network-instance:config: - openconfig-network-instance:import-policy: - - import-route-target - openconfig-network-instance:export-policy: - - export-route-target - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:config: - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:interface: Loopback0 - openconfig-network-instance:subinterface: 0 - - openconfig-network-instance:id: GigabitEthernet3.10 + openconfig-network-instance:afi-safi-name: L3VPN_IPV4_UNICAST + openconfig-network-instance:enabled: true + openconfig-network-instance:apply-policy: + openconfig-network-instance:config: + openconfig-network-instance:import-policy: + - from_wan + - openconfig-network-instance:name: internal_1 + openconfig-network-instance:config: + openconfig-network-instance:name: internal_1 + openconfig-network-instance:type: L3VRF + openconfig-network-instance:enabled: true + openconfig-network-instance:enabled-address-families: + - IPV4 + - IPV6 + openconfig-network-instance:route-distinguisher: '1:1' + openconfig-network-instance:inter-instance-policies: + openconfig-network-instance:apply-policy: openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet3.10 - openconfig-network-instance:interface: GigabitEthernet3 - openconfig-network-instance:subinterface: 10 - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: OSPF - openconfig-network-instance:name: '1' - openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:identifier: OSPF + openconfig-network-instance:import-policy: + - import-route-target + openconfig-network-instance:export-policy: + - export-route-target + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: Loopback0 + openconfig-network-instance:config: + openconfig-network-instance:id: Loopback0 + openconfig-network-instance:interface: Loopback0 + openconfig-network-instance:subinterface: 0 + - openconfig-network-instance:id: GigabitEthernet3.10 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet3.10 + openconfig-network-instance:interface: GigabitEthernet3 + openconfig-network-instance:subinterface: 10 + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: OSPF openconfig-network-instance:name: '1' - openconfig-network-instance:ospfv2: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:log-adjacency-changes: True - openconfig-ospfv2-ext:capability-vrf-lite: True - openconfig-network-instance:areas: - openconfig-network-instance:area: - - openconfig-network-instance:identifier: 0 - openconfig-network-instance:config: - openconfig-network-instance:identifier: 0 - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:config: - openconfig-network-instance:id: Loopback0 - openconfig-network-instance:passive: True - - openconfig-network-instance:id: GigabitEthernet3.10 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet3.10 - - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:config: - openconfig-network-instance:enabled: True - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:bgp: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:as: 65100 - openconfig-network-instance:default-route-distance: + openconfig-network-instance:config: + openconfig-network-instance:enabled: True + openconfig-network-instance:identifier: OSPF + openconfig-network-instance:name: '1' + openconfig-network-instance:ospfv2: + openconfig-network-instance:global: openconfig-network-instance:config: - openconfig-network-instance:external-route-distance: 20 - openconfig-network-instance:internal-route-distance: 99 - openconfig-network-instance:afi-safis: - openconfig-network-instance:afi-safi: - - openconfig-network-instance:afi-safi-name: IPV4_UNICAST + openconfig-network-instance:log-adjacency-changes: True + openconfig-ospfv2-ext:capability-vrf-lite: True + openconfig-network-instance:areas: + openconfig-network-instance:area: + - openconfig-network-instance:identifier: 0 openconfig-network-instance:config: - openconfig-network-instance:afi-safi-name: IPV4_UNICAST - openconfig-network-instance:enabled: true - openconfig-network-instance:ipv4-unicast: + openconfig-network-instance:identifier: 0 + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: Loopback0 + openconfig-network-instance:config: + openconfig-network-instance:id: Loopback0 + openconfig-network-instance:passive: True + - openconfig-network-instance:id: GigabitEthernet3.10 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet3.10 + - openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:config: + openconfig-network-instance:enabled: True + openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:bgp: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:as: 65100 + openconfig-network-instance:default-route-distance: + openconfig-network-instance:config: + openconfig-network-instance:external-route-distance: 20 + openconfig-network-instance:internal-route-distance: 99 + openconfig-network-instance:afi-safis: + openconfig-network-instance:afi-safi: + - openconfig-network-instance:afi-safi-name: IPV4_UNICAST openconfig-network-instance:config: - openconfig-network-instance:send-default-route: True - openconfig-network-instance:table-connections: - openconfig-network-instance:table-connection: - - openconfig-network-instance:src-protocol: OSPF - openconfig-network-instance:dst-protocol: BGP - openconfig-network-instance:address-family: IPV4 - openconfig-network-instance:config: - openconfig-network-instance:address-family: IPV4 + openconfig-network-instance:afi-safi-name: IPV4_UNICAST + openconfig-network-instance:enabled: true + openconfig-network-instance:ipv4-unicast: + openconfig-network-instance:config: + openconfig-network-instance:send-default-route: True + openconfig-network-instance:table-connections: + openconfig-network-instance:table-connection: + - openconfig-network-instance:src-protocol: OSPF openconfig-network-instance:dst-protocol: BGP - openconfig-network-instance:src-protocol: OSPF - openconfig-network-instance-ext:src-protocol-process-number: 1 - openconfig-network-instance:import-policy: - - from_ospf - - openconfig-network-instance:src-protocol: BGP - openconfig-network-instance:dst-protocol: OSPF - openconfig-network-instance:address-family: IPV4 - openconfig-network-instance:config: openconfig-network-instance:address-family: IPV4 + openconfig-network-instance:config: + openconfig-network-instance:address-family: IPV4 + openconfig-network-instance:dst-protocol: BGP + openconfig-network-instance:src-protocol: OSPF + openconfig-network-instance-ext:src-protocol-process-number: 1 + openconfig-network-instance:import-policy: + - from_ospf + - openconfig-network-instance:src-protocol: BGP openconfig-network-instance:dst-protocol: OSPF - openconfig-network-instance:src-protocol: BGP - openconfig-network-instance-ext:dst-protocol-process-number: 1 - openconfig-network-instance-ext:src-protocol-process-number: 65100 - openconfig-network-instance:import-policy: - - to_ospf + openconfig-network-instance:address-family: IPV4 + openconfig-network-instance:config: + openconfig-network-instance:address-family: IPV4 + openconfig-network-instance:dst-protocol: OSPF + openconfig-network-instance:src-protocol: BGP + openconfig-network-instance-ext:dst-protocol-process-number: 1 + openconfig-network-instance-ext:src-protocol-process-number: 65100 + openconfig-network-instance:import-policy: + - to_ospf mdd_tags: - hq_router diff --git a/mdd-data/org/region1/site1/oc-routing.yml b/mdd-data/org/region1/site1/oc-routing.yml index 845ce12..3433ae2 100644 --- a/mdd-data/org/region1/site1/oc-routing.yml +++ b/mdd-data/org/region1/site1/oc-routing.yml @@ -1,21 +1,22 @@ --- mdd_data: - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: default - openconfig-network-instance:mpls: - openconfig-network-instance:signaling-protocols: - openconfig-network-instance:ldp: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:lsr-id: 10.255.255.13 - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:bgp: + mdd:openconfig: + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: default + openconfig-network-instance:mpls: + openconfig-network-instance:signaling-protocols: + openconfig-network-instance:ldp: openconfig-network-instance:global: openconfig-network-instance:config: - openconfig-network-instance:router-id: 10.255.255.13 + openconfig-network-instance:lsr-id: 10.255.255.13 + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:bgp: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:router-id: 10.255.255.13 mdd_tags: - bgp diff --git a/mdd-data/org/region1/site1/site1-rtr1/oc-interfaces.yml b/mdd-data/org/region1/site1/site1-rtr1/oc-interfaces.yml index bf779a9..4a193e9 100644 --- a/mdd-data/org/region1/site1/site1-rtr1/oc-interfaces.yml +++ b/mdd-data/org/region1/site1/site1-rtr1/oc-interfaces.yml @@ -1,118 +1,119 @@ --- mdd_data: - openconfig-interfaces:interfaces: - openconfig-interfaces:interface: - - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 192.168.255.1 - openconfig-if-ip:config: - openconfig-if-ip:ip: 192.168.255.1 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: Loopback100 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback100 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.255.255.13 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.255.255.13 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:config: - openconfig-if-ip:dhcp-client: true - - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.0.0.10 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.0.0.10 - openconfig-if-ip:prefix-length: 30 - - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:config: - openconfig-interfaces:description: 802.1q Trunk - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 10 - openconfig-interfaces:config: - openconfig-interfaces:description: VLAN10 - openconfig-interfaces:enabled: true - openconfig-interfaces:index: 10 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 192.168.1.1 - openconfig-if-ip:config: - openconfig-if-ip:ip: 192.168.1.1 - openconfig-if-ip:prefix-length: 24 - openconfig-vlan:vlan: - openconfig-vlan:config: - openconfig-vlan:vlan-id: 10 - - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:type: ethernetCsmacd + mdd:openconfig: + openconfig-interfaces:interfaces: + openconfig-interfaces:interface: + - openconfig-interfaces:name: Loopback0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback0 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 192.168.255.1 + openconfig-if-ip:config: + openconfig-if-ip:ip: 192.168.255.1 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: Loopback100 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback100 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.255.255.13 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.255.255.13 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:config: + openconfig-if-ip:dhcp-client: true + - openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.0.0.10 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.0.0.10 + openconfig-if-ip:prefix-length: 30 + - openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:config: + openconfig-interfaces:description: 802.1q Trunk + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 10 + openconfig-interfaces:config: + openconfig-interfaces:description: VLAN10 + openconfig-interfaces:enabled: true + openconfig-interfaces:index: 10 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 192.168.1.1 + openconfig-if-ip:config: + openconfig-if-ip:ip: 192.168.1.1 + openconfig-if-ip:prefix-length: 24 + openconfig-vlan:vlan: + openconfig-vlan:config: + openconfig-vlan:vlan-id: 10 + - openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:type: ethernetCsmacd mdd_tags: - all diff --git a/mdd-data/org/region1/site1/site1-rtr1/oc-routing.yml b/mdd-data/org/region1/site1/site1-rtr1/oc-routing.yml index 5e9a33f..67f841d 100644 --- a/mdd-data/org/region1/site1/site1-rtr1/oc-routing.yml +++ b/mdd-data/org/region1/site1/site1-rtr1/oc-routing.yml @@ -1,19 +1,20 @@ --- mdd_data: - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: default - openconfig-network-instance:mpls: - openconfig-network-instance:signaling-protocols: - openconfig-network-instance:ldp: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:lsr-id: 10.255.255.13 - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:bgp: + mdd:openconfig: + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: default + openconfig-network-instance:mpls: + openconfig-network-instance:signaling-protocols: + openconfig-network-instance:ldp: openconfig-network-instance:global: openconfig-network-instance:config: - openconfig-network-instance:router-id: 10.255.255.13 + openconfig-network-instance:lsr-id: 10.255.255.13 + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:bgp: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:router-id: 10.255.255.13 diff --git a/mdd-data/org/region1/site1/site1-sw1/oc-interfaces.yml b/mdd-data/org/region1/site1/site1-sw1/oc-interfaces.yml index f13b4fe..24ae6b0 100644 --- a/mdd-data/org/region1/site1/site1-sw1/oc-interfaces.yml +++ b/mdd-data/org/region1/site1/site1-sw1/oc-interfaces.yml @@ -1,123 +1,124 @@ --- mdd_data: - openconfig-interfaces:interfaces: - openconfig-interfaces:interface: - - openconfig-interfaces:name: GigabitEthernet0/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/0 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:config: - openconfig-if-ip:dhcp-client: true - - openconfig-interfaces:name: GigabitEthernet0/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/1 - openconfig-interfaces:type: l2vlan - openconfig-if-ethernet:ethernet: - openconfig-vlan:switched-vlan: - openconfig-vlan:config: - openconfig-vlan:interface-mode: TRUNK - openconfig-vlan:native-vlan: 99 - openconfig-vlan:trunk-vlans: - - 10 - - openconfig-interfaces:name: GigabitEthernet0/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/2 - openconfig-interfaces:type: l2vlan - openconfig-if-ethernet:ethernet: - openconfig-vlan:switched-vlan: - openconfig-vlan:config: - openconfig-vlan:access-vlan: 10 - openconfig-vlan:interface-mode: ACCESS - - openconfig-interfaces:name: GigabitEthernet0/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/3 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet1/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/0 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet1/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/1 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet1/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/2 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet1/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/3 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/0 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/1 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/2 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/3 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/0 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/1 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/2 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/3 - openconfig-interfaces:type: ethernetCsmacd - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:config: - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:type: L3VRF - openconfig-network-instance:enabled: true - openconfig-network-instance:enabled-address-families: - - IPV4 - - IPV6 - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: GigabitEthernet0/0 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet0/0 - openconfig-network-instance:interface: GigabitEthernet0/0 - openconfig-network-instance:subinterface: 0 + mdd:openconfig: + openconfig-interfaces:interfaces: + openconfig-interfaces:interface: + - openconfig-interfaces:name: GigabitEthernet0/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/0 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:config: + openconfig-if-ip:dhcp-client: true + - openconfig-interfaces:name: GigabitEthernet0/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/1 + openconfig-interfaces:type: l2vlan + openconfig-if-ethernet:ethernet: + openconfig-vlan:switched-vlan: + openconfig-vlan:config: + openconfig-vlan:interface-mode: TRUNK + openconfig-vlan:native-vlan: 99 + openconfig-vlan:trunk-vlans: + - 10 + - openconfig-interfaces:name: GigabitEthernet0/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/2 + openconfig-interfaces:type: l2vlan + openconfig-if-ethernet:ethernet: + openconfig-vlan:switched-vlan: + openconfig-vlan:config: + openconfig-vlan:access-vlan: 10 + openconfig-vlan:interface-mode: ACCESS + - openconfig-interfaces:name: GigabitEthernet0/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/3 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet1/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/0 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet1/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/1 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet1/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/2 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet1/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/3 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/0 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/1 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/2 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/3 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/0 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/1 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/2 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/3 + openconfig-interfaces:type: ethernetCsmacd + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:config: + openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:type: L3VRF + openconfig-network-instance:enabled: true + openconfig-network-instance:enabled-address-families: + - IPV4 + - IPV6 + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: GigabitEthernet0/0 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet0/0 + openconfig-network-instance:interface: GigabitEthernet0/0 + openconfig-network-instance:subinterface: 0 mdd_tags: - all diff --git a/mdd-data/org/region1/site1/site1-sw1/oc-stp.yml b/mdd-data/org/region1/site1/site1-sw1/oc-stp.yml index e650114..45a375c 100644 --- a/mdd-data/org/region1/site1/site1-sw1/oc-stp.yml +++ b/mdd-data/org/region1/site1/site1-sw1/oc-stp.yml @@ -2,100 +2,101 @@ mdd_tags: - switch mdd_data: - openconfig-spanning-tree:stp: - openconfig-spanning-tree:global: - openconfig-spanning-tree:config: - openconfig-spanning-tree:enabled-protocol: - - RAPID_PVST - openconfig-spanning-tree:interfaces: - openconfig-spanning-tree:interface: - - openconfig-spanning-tree:name: 'GigabitEthernet0/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_ENABLE - - openconfig-spanning-tree:name: 'GigabitEthernet0/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet0/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO + mdd:openconfig: + openconfig-spanning-tree:stp: + openconfig-spanning-tree:global: + openconfig-spanning-tree:config: + openconfig-spanning-tree:enabled-protocol: + - RAPID_PVST + openconfig-spanning-tree:interfaces: + openconfig-spanning-tree:interface: + - openconfig-spanning-tree:name: 'GigabitEthernet0/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_ENABLE + - openconfig-spanning-tree:name: 'GigabitEthernet0/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet0/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO diff --git a/mdd-data/org/region2/oc-ntp.yml b/mdd-data/org/region2/oc-ntp.yml index d2f4e7b..7b32133 100644 --- a/mdd-data/org/region2/oc-ntp.yml +++ b/mdd-data/org/region2/oc-ntp.yml @@ -1,6 +1,7 @@ --- mdd_data: - openconfig-system:system: - openconfig-system:clock: - openconfig-system:config: - openconfig-system:timezone-name: 'EST -5 0' + mdd:openconfig: + openconfig-system:system: + openconfig-system:clock: + openconfig-system:config: + openconfig-system:timezone-name: 'EST -5 0' diff --git a/mdd-data/org/region2/site2/site2-rtr1/oc-interfaces.yml b/mdd-data/org/region2/site2/site2-rtr1/oc-interfaces.yml index 27ba96e..9bb5495 100644 --- a/mdd-data/org/region2/site2/site2-rtr1/oc-interfaces.yml +++ b/mdd-data/org/region2/site2/site2-rtr1/oc-interfaces.yml @@ -1,117 +1,118 @@ --- mdd_data: - openconfig-interfaces:interfaces: - openconfig-interfaces:interface: - - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback0 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 192.168.255.2 - openconfig-if-ip:config: - openconfig-if-ip:ip: 192.168.255.2 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: Loopback100 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: Loopback100 - openconfig-interfaces:type: softwareLoopback - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.255.255.14 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.255.255.14 - openconfig-if-ip:prefix-length: 32 - - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:config: - openconfig-if-ip:dhcp-client: true - - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 10.0.0.14 - openconfig-if-ip:config: - openconfig-if-ip:ip: 10.0.0.14 - openconfig-if-ip:prefix-length: 30 - - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3 - openconfig-interfaces:type: ethernetCsmacd - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 10 - openconfig-interfaces:config: - openconfig-interfaces:description: VLAN10 - openconfig-interfaces:enabled: true - openconfig-interfaces:index: 10 - openconfig-if-ip:ipv4: - openconfig-if-ip:addresses: - openconfig-if-ip:address: - - openconfig-if-ip:ip: 192.168.2.1 - openconfig-if-ip:config: - openconfig-if-ip:ip: 192.168.2.1 - openconfig-if-ip:prefix-length: 24 - openconfig-vlan:vlan: - openconfig-vlan:config: - openconfig-vlan:vlan-id: 10 - - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet4 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet5 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet6 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet7 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:config: - openconfig-interfaces:enabled: false - openconfig-interfaces:name: GigabitEthernet8 - openconfig-interfaces:type: ethernetCsmacd + mdd:openconfig: + openconfig-interfaces:interfaces: + openconfig-interfaces:interface: + - openconfig-interfaces:name: Loopback0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback0 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 192.168.255.2 + openconfig-if-ip:config: + openconfig-if-ip:ip: 192.168.255.2 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: Loopback100 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: Loopback100 + openconfig-interfaces:type: softwareLoopback + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.255.255.14 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.255.255.14 + openconfig-if-ip:prefix-length: 32 + - openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:config: + openconfig-if-ip:dhcp-client: true + - openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 10.0.0.14 + openconfig-if-ip:config: + openconfig-if-ip:ip: 10.0.0.14 + openconfig-if-ip:prefix-length: 30 + - openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3 + openconfig-interfaces:type: ethernetCsmacd + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 10 + openconfig-interfaces:config: + openconfig-interfaces:description: VLAN10 + openconfig-interfaces:enabled: true + openconfig-interfaces:index: 10 + openconfig-if-ip:ipv4: + openconfig-if-ip:addresses: + openconfig-if-ip:address: + - openconfig-if-ip:ip: 192.168.2.1 + openconfig-if-ip:config: + openconfig-if-ip:ip: 192.168.2.1 + openconfig-if-ip:prefix-length: 24 + openconfig-vlan:vlan: + openconfig-vlan:config: + openconfig-vlan:vlan-id: 10 + - openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet4 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet5 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet6 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet7 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:config: + openconfig-interfaces:enabled: false + openconfig-interfaces:name: GigabitEthernet8 + openconfig-interfaces:type: ethernetCsmacd mdd_tags: - all diff --git a/mdd-data/org/region2/site2/site2-rtr1/oc-routing.yml b/mdd-data/org/region2/site2/site2-rtr1/oc-routing.yml index 2064e45..1426437 100644 --- a/mdd-data/org/region2/site2/site2-rtr1/oc-routing.yml +++ b/mdd-data/org/region2/site2/site2-rtr1/oc-routing.yml @@ -1,19 +1,20 @@ --- mdd_data: - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: default - openconfig-network-instance:mpls: - openconfig-network-instance:signaling-protocols: - openconfig-network-instance:ldp: - openconfig-network-instance:global: - openconfig-network-instance:config: - openconfig-network-instance:lsr-id: 10.255.255.14 - openconfig-network-instance:protocols: - openconfig-network-instance:protocol: - - openconfig-network-instance:identifier: BGP - openconfig-network-instance:name: BGP - openconfig-network-instance:bgp: + mdd:openconfig: + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: default + openconfig-network-instance:mpls: + openconfig-network-instance:signaling-protocols: + openconfig-network-instance:ldp: openconfig-network-instance:global: openconfig-network-instance:config: - openconfig-network-instance:router-id: 10.255.255.14 + openconfig-network-instance:lsr-id: 10.255.255.14 + openconfig-network-instance:protocols: + openconfig-network-instance:protocol: + - openconfig-network-instance:identifier: BGP + openconfig-network-instance:name: BGP + openconfig-network-instance:bgp: + openconfig-network-instance:global: + openconfig-network-instance:config: + openconfig-network-instance:router-id: 10.255.255.14 diff --git a/mdd-data/org/region2/site2/site2-sw1/oc-interfaces.yml b/mdd-data/org/region2/site2/site2-sw1/oc-interfaces.yml index 89d655f..a4b47a5 100644 --- a/mdd-data/org/region2/site2/site2-sw1/oc-interfaces.yml +++ b/mdd-data/org/region2/site2/site2-sw1/oc-interfaces.yml @@ -1,123 +1,124 @@ --- mdd_data: - openconfig-interfaces:interfaces: - openconfig-interfaces:interface: - - openconfig-interfaces:name: GigabitEthernet0/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/0 - openconfig-interfaces:type: l2vlan - openconfig-interfaces:subinterfaces: - openconfig-interfaces:subinterface: - - openconfig-interfaces:index: 0 - openconfig-interfaces:config: - openconfig-interfaces:index: 0 - openconfig-if-ip:ipv4: - openconfig-if-ip:config: - openconfig-if-ip:dhcp-client: true - - openconfig-interfaces:name: GigabitEthernet0/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/1 - openconfig-interfaces:type: l2vlan - openconfig-if-ethernet:ethernet: - openconfig-vlan:switched-vlan: - openconfig-vlan:config: - openconfig-vlan:interface-mode: TRUNK - openconfig-vlan:native-vlan: 99 - openconfig-vlan:trunk-vlans: - - 10 - - openconfig-interfaces:name: GigabitEthernet0/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/2 - openconfig-interfaces:type: l2vlan - openconfig-if-ethernet:ethernet: - openconfig-vlan:switched-vlan: - openconfig-vlan:config: - openconfig-vlan:access-vlan: 10 - openconfig-vlan:interface-mode: ACCESS - - openconfig-interfaces:name: GigabitEthernet0/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet0/3 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet1/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/0 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet1/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/1 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet1/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/2 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet1/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet1/3 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/0 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/1 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/2 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet2/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet2/3 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/0 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/0 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/1 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/1 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/2 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/2 - openconfig-interfaces:type: ethernetCsmacd - - openconfig-interfaces:name: GigabitEthernet3/3 - openconfig-interfaces:config: - openconfig-interfaces:enabled: true - openconfig-interfaces:name: GigabitEthernet3/3 - openconfig-interfaces:type: ethernetCsmacd - openconfig-network-instance:network-instances: - openconfig-network-instance:network-instance: - - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:config: - openconfig-network-instance:name: Mgmt-intf - openconfig-network-instance:type: L3VRF - openconfig-network-instance:enabled: true - openconfig-network-instance:enabled-address-families: - - IPV4 - - IPV6 - openconfig-network-instance:interfaces: - openconfig-network-instance:interface: - - openconfig-network-instance:id: GigabitEthernet0/0 - openconfig-network-instance:config: - openconfig-network-instance:id: GigabitEthernet0/0 - openconfig-network-instance:interface: GigabitEthernet0/0 - openconfig-network-instance:subinterface: 0 + mdd:openconfig: + openconfig-interfaces:interfaces: + openconfig-interfaces:interface: + - openconfig-interfaces:name: GigabitEthernet0/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/0 + openconfig-interfaces:type: l2vlan + openconfig-interfaces:subinterfaces: + openconfig-interfaces:subinterface: + - openconfig-interfaces:index: 0 + openconfig-interfaces:config: + openconfig-interfaces:index: 0 + openconfig-if-ip:ipv4: + openconfig-if-ip:config: + openconfig-if-ip:dhcp-client: true + - openconfig-interfaces:name: GigabitEthernet0/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/1 + openconfig-interfaces:type: l2vlan + openconfig-if-ethernet:ethernet: + openconfig-vlan:switched-vlan: + openconfig-vlan:config: + openconfig-vlan:interface-mode: TRUNK + openconfig-vlan:native-vlan: 99 + openconfig-vlan:trunk-vlans: + - 10 + - openconfig-interfaces:name: GigabitEthernet0/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/2 + openconfig-interfaces:type: l2vlan + openconfig-if-ethernet:ethernet: + openconfig-vlan:switched-vlan: + openconfig-vlan:config: + openconfig-vlan:access-vlan: 10 + openconfig-vlan:interface-mode: ACCESS + - openconfig-interfaces:name: GigabitEthernet0/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet0/3 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet1/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/0 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet1/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/1 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet1/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/2 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet1/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet1/3 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/0 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/1 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/2 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet2/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet2/3 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/0 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/0 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/1 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/1 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/2 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/2 + openconfig-interfaces:type: ethernetCsmacd + - openconfig-interfaces:name: GigabitEthernet3/3 + openconfig-interfaces:config: + openconfig-interfaces:enabled: true + openconfig-interfaces:name: GigabitEthernet3/3 + openconfig-interfaces:type: ethernetCsmacd + openconfig-network-instance:network-instances: + openconfig-network-instance:network-instance: + - openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:config: + openconfig-network-instance:name: Mgmt-intf + openconfig-network-instance:type: L3VRF + openconfig-network-instance:enabled: true + openconfig-network-instance:enabled-address-families: + - IPV4 + - IPV6 + openconfig-network-instance:interfaces: + openconfig-network-instance:interface: + - openconfig-network-instance:id: GigabitEthernet0/0 + openconfig-network-instance:config: + openconfig-network-instance:id: GigabitEthernet0/0 + openconfig-network-instance:interface: GigabitEthernet0/0 + openconfig-network-instance:subinterface: 0 mdd_tags: - all diff --git a/mdd-data/org/region2/site2/site2-sw1/oc-stp.yml b/mdd-data/org/region2/site2/site2-sw1/oc-stp.yml index e650114..45a375c 100644 --- a/mdd-data/org/region2/site2/site2-sw1/oc-stp.yml +++ b/mdd-data/org/region2/site2/site2-sw1/oc-stp.yml @@ -2,100 +2,101 @@ mdd_tags: - switch mdd_data: - openconfig-spanning-tree:stp: - openconfig-spanning-tree:global: - openconfig-spanning-tree:config: - openconfig-spanning-tree:enabled-protocol: - - RAPID_PVST - openconfig-spanning-tree:interfaces: - openconfig-spanning-tree:interface: - - openconfig-spanning-tree:name: 'GigabitEthernet0/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_ENABLE - - openconfig-spanning-tree:name: 'GigabitEthernet0/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet0/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet0/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet1/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet1/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet2/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet2/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/0' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/0' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/1' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/1' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/2' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/2' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO - - openconfig-spanning-tree:name: 'GigabitEthernet3/3' - openconfig-spanning-tree:config: - openconfig-spanning-tree:name: 'GigabitEthernet3/3' - openconfig-spanning-tree:guard: ROOT - openconfig-spanning-tree:link-type: P2P - openconfig-spanning-tree:edge-port: EDGE_AUTO + mdd:openconfig: + openconfig-spanning-tree:stp: + openconfig-spanning-tree:global: + openconfig-spanning-tree:config: + openconfig-spanning-tree:enabled-protocol: + - RAPID_PVST + openconfig-spanning-tree:interfaces: + openconfig-spanning-tree:interface: + - openconfig-spanning-tree:name: 'GigabitEthernet0/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_ENABLE + - openconfig-spanning-tree:name: 'GigabitEthernet0/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet0/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet0/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet1/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet1/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet2/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet2/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/0' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/0' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/1' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/1' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/2' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/2' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO + - openconfig-spanning-tree:name: 'GigabitEthernet3/3' + openconfig-spanning-tree:config: + openconfig-spanning-tree:name: 'GigabitEthernet3/3' + openconfig-spanning-tree:guard: ROOT + openconfig-spanning-tree:link-type: P2P + openconfig-spanning-tree:edge-port: EDGE_AUTO diff --git a/play.sh b/play.sh index 5a3ce7a..620729f 100755 --- a/play.sh +++ b/play.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +IMAGE=ghcr.io/model-driven-devops/mdd:1.2.0 + OPTIONS="--env ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3" if [[ ! -z "$ANSIBLE_VAULT_PASSWORD_FILE" ]]; then OPTIONS="--env ANSIBLE_VAULT_PASSWORD_FILE=/tmp/vault.pw -v $ANSIBLE_VAULT_PASSWORD_FILE:/tmp/vault.pw" @@ -11,10 +13,10 @@ OPTION_LIST=( \ "CML_PASSWORD" \ "CML_LAB" \ "CML_VERIFY_CERT" \ - "CSR1000V_VERSION" \ - "UBUNTU_VERSION" \ - "IOSVL2_VERSION" \ "ANSIBLE_INVENTORY" \ + "NSO_URL" \ + "NSO_USERNAME" \ + "NSO_PASSWORD" \ ) for OPTION in ${OPTION_LIST[*]}; do @@ -23,4 +25,17 @@ for OPTION in ${OPTION_LIST[*]}; do fi done -docker run -it --rm -v $PWD:/ansible --env PWD="/ansible" --env USER="$USER" $OPTIONS ghcr.io/model-driven-devops/mdd:1.1.3 ansible-playbook "$@" +while getopts ":sl" opt; do + case $opt in + s) + docker run -it --rm -v $PWD:/ansible --env PWD="/ansible" --env USER="$USER" $OPTIONS $IMAGE /bin/bash + exit + ;; + l) + docker run -it --rm -v $PWD:/ansible --env PWD="/ansible" --env USER="$USER" $OPTIONS $IMAGE ansible-lint + exit + ;; + esac +done + +docker run -it --rm -v $PWD:/ansible --env PWD="/ansible" --env USER="$USER" $OPTIONS $IMAGE ansible-playbook "$@" diff --git a/requirements.txt b/requirements.txt index 4c27212..30bc39d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,3 +11,4 @@ jmespath passlib botocore boto3 +nso-oc==2.35.5 diff --git a/requirements.yml b/requirements.yml index d6639cc..6dd7ccd 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,7 +1,7 @@ collections: - name: https://github.com/ciscodevnet/ansible-cml.git type: git - - name: https://github.com/model-driven-devops/ansible-mdd.git,1.1.3 + - name: https://github.com/model-driven-devops/ansible-mdd.git,1.2.0 type: git - name: https://github.com/model-driven-devops/ansible-nso.git type: git diff --git a/run-ci.bash b/run-ci.bash deleted file mode 100755 index 69385e4..0000000 --- a/run-ci.bash +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -ansible-lint --exclude=.github --exclude=collections -c .ansible-lint -v