Juniper Networks · Capability

Juniper Networks Juniper Apstra Intent-Based Networking API — Design

Juniper Networks Juniper Apstra Intent-Based Networking API — Design. 6 operations. Lead operation: Juniper Networks List interface maps. Self-contained Naftiko capability covering one Juniper Networks business surface.

Run with Naftiko Juniper NetworksDesign

What You Can Do

GET
Listinterfacemaps — Juniper Networks List interface maps
/v1/design/interface-maps
GET
Listlogicaldevices — Juniper Networks List logical devices
/v1/design/logical-devices
POST
Createlogicaldevice — Juniper Networks Create logical device
/v1/design/logical-devices
GET
Listracktypes — Juniper Networks List rack types
/v1/design/rack-types
POST
Createracktype — Juniper Networks Create rack type
/v1/design/rack-types
GET
Listtemplates — Juniper Networks List templates
/v1/design/templates

MCP Tools

juniper-networks-list-interface-maps

Juniper Networks List interface maps

read-only idempotent
juniper-networks-list-logical-devices

Juniper Networks List logical devices

read-only idempotent
juniper-networks-create-logical-device

Juniper Networks Create logical device

juniper-networks-list-rack-types

Juniper Networks List rack types

read-only idempotent
juniper-networks-create-rack-type

Juniper Networks Create rack type

juniper-networks-list-templates

Juniper Networks List templates

read-only idempotent

Capability Spec

apstra-design.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Juniper Networks Juniper Apstra Intent-Based Networking API — Design
  description: 'Juniper Networks Juniper Apstra Intent-Based Networking API — Design. 6 operations. Lead operation: Juniper
    Networks List interface maps. Self-contained Naftiko capability covering one Juniper Networks business surface.'
  tags:
  - Juniper Networks
  - Design
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    JUNIPER_NETWORKS_API_KEY: JUNIPER_NETWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: apstra-design
    baseUri: https://{apstra_server}/api
    description: Juniper Networks Juniper Apstra Intent-Based Networking API — Design business capability. Self-contained,
      no shared references.
    resources:
    - name: design-interface-maps
      path: /design/interface-maps
      operations:
      - name: listinterfacemaps
        method: GET
        description: Juniper Networks List interface maps
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: design-logical-devices
      path: /design/logical-devices
      operations:
      - name: listlogicaldevices
        method: GET
        description: Juniper Networks List logical devices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createlogicaldevice
        method: POST
        description: Juniper Networks Create logical device
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: design-rack-types
      path: /design/rack-types
      operations:
      - name: listracktypes
        method: GET
        description: Juniper Networks List rack types
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createracktype
        method: POST
        description: Juniper Networks Create rack type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: design-templates
      path: /design/templates
      operations:
      - name: listtemplates
        method: GET
        description: Juniper Networks List templates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: AuthToken
      value: '{{env.JUNIPER_NETWORKS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: apstra-design-rest
    port: 8080
    description: REST adapter for Juniper Networks Juniper Apstra Intent-Based Networking API — Design. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/design/interface-maps
      name: design-interface-maps
      description: REST surface for design-interface-maps.
      operations:
      - method: GET
        name: listinterfacemaps
        description: Juniper Networks List interface maps
        call: apstra-design.listinterfacemaps
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/design/logical-devices
      name: design-logical-devices
      description: REST surface for design-logical-devices.
      operations:
      - method: GET
        name: listlogicaldevices
        description: Juniper Networks List logical devices
        call: apstra-design.listlogicaldevices
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createlogicaldevice
        description: Juniper Networks Create logical device
        call: apstra-design.createlogicaldevice
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/design/rack-types
      name: design-rack-types
      description: REST surface for design-rack-types.
      operations:
      - method: GET
        name: listracktypes
        description: Juniper Networks List rack types
        call: apstra-design.listracktypes
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createracktype
        description: Juniper Networks Create rack type
        call: apstra-design.createracktype
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/design/templates
      name: design-templates
      description: REST surface for design-templates.
      operations:
      - method: GET
        name: listtemplates
        description: Juniper Networks List templates
        call: apstra-design.listtemplates
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apstra-design-mcp
    port: 9090
    transport: http
    description: MCP adapter for Juniper Networks Juniper Apstra Intent-Based Networking API — Design. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: juniper-networks-list-interface-maps
      description: Juniper Networks List interface maps
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apstra-design.listinterfacemaps
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-list-logical-devices
      description: Juniper Networks List logical devices
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apstra-design.listlogicaldevices
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-create-logical-device
      description: Juniper Networks Create logical device
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apstra-design.createlogicaldevice
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-list-rack-types
      description: Juniper Networks List rack types
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apstra-design.listracktypes
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-create-rack-type
      description: Juniper Networks Create rack type
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apstra-design.createracktype
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-list-templates
      description: Juniper Networks List templates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apstra-design.listtemplates
      outputParameters:
      - type: object
        mapping: $.