naftiko: 1.0.0-alpha2 info: label: Juniper Networks Juniper Apstra API — Virtual Networks description: 'Juniper Networks Juniper Apstra API — Virtual Networks. 4 operations. Lead operation: Juniper Networks List security zones (routing zones / VRFs). Self-contained Naftiko capability covering one Juniper business surface.' tags: - Juniper - Virtual Networks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JUNIPER_API_KEY: JUNIPER_API_KEY capability: consumes: - type: http namespace: apstra-virtual-networks baseUri: https://{apstra_server}/api description: Juniper Networks Juniper Apstra API — Virtual Networks business capability. Self-contained, no shared references. resources: - name: blueprints-blueprint_id-security-zones path: /blueprints/{blueprint_id}/security-zones operations: - name: listsecurityzones method: GET description: Juniper Networks List security zones (routing zones / VRFs) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsecurityzone method: POST description: Juniper Networks Create security zone outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: blueprints-blueprint_id-virtual-networks path: /blueprints/{blueprint_id}/virtual-networks operations: - name: listvirtualnetworks method: GET description: Juniper Networks List virtual networks outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createvirtualnetwork method: POST description: Juniper Networks Create virtual network outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: AuthToken value: '{{env.JUNIPER_API_KEY}}' placement: header exposes: - type: rest namespace: apstra-virtual-networks-rest port: 8080 description: REST adapter for Juniper Networks Juniper Apstra API — Virtual Networks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/blueprints/{blueprint-id}/security-zones name: blueprints-blueprint-id-security-zones description: REST surface for blueprints-blueprint_id-security-zones. operations: - method: GET name: listsecurityzones description: Juniper Networks List security zones (routing zones / VRFs) call: apstra-virtual-networks.listsecurityzones outputParameters: - type: object mapping: $. - method: POST name: createsecurityzone description: Juniper Networks Create security zone call: apstra-virtual-networks.createsecurityzone with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/blueprints/{blueprint-id}/virtual-networks name: blueprints-blueprint-id-virtual-networks description: REST surface for blueprints-blueprint_id-virtual-networks. operations: - method: GET name: listvirtualnetworks description: Juniper Networks List virtual networks call: apstra-virtual-networks.listvirtualnetworks outputParameters: - type: object mapping: $. - method: POST name: createvirtualnetwork description: Juniper Networks Create virtual network call: apstra-virtual-networks.createvirtualnetwork with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: apstra-virtual-networks-mcp port: 9090 transport: http description: MCP adapter for Juniper Networks Juniper Apstra API — Virtual Networks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: juniper-networks-list-security-zones description: Juniper Networks List security zones (routing zones / VRFs) hints: readOnly: true destructive: false idempotent: true call: apstra-virtual-networks.listsecurityzones outputParameters: - type: object mapping: $. - name: juniper-networks-create-security-zone description: Juniper Networks Create security zone hints: readOnly: false destructive: false idempotent: false call: apstra-virtual-networks.createsecurityzone with: body: tools.body outputParameters: - type: object mapping: $. - name: juniper-networks-list-virtual-networks description: Juniper Networks List virtual networks hints: readOnly: true destructive: false idempotent: true call: apstra-virtual-networks.listvirtualnetworks outputParameters: - type: object mapping: $. - name: juniper-networks-create-virtual-network description: Juniper Networks Create virtual network hints: readOnly: false destructive: false idempotent: false call: apstra-virtual-networks.createvirtualnetwork with: body: tools.body outputParameters: - type: object mapping: $.