renatoalmeidaoliveira.netero.peeringdb_prospect (1.1.5) — module

Searches for common IXP

| "added in version" 0.0.1 of renatoalmeidaoliveira.netero"

Authors: Renato Almeida de Oliveira (renato.a.oliveira@pm.me)

preview | supported by community

Install collection

Install with ansible-galaxy collection install renatoalmeidaoliveira.netero:==1.1.5


Add to requirements.yml

  collections:
    - name: renatoalmeidaoliveira.netero
      version: 1.1.5

Description

This modules uses peeringDB API to lookup for IXP that dst-ASN has in commoon with src-ASN

Providing username and password allows peeringDB to provide restricted information on the query

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get ASN Data
  peeringdb_prospect:
    dst-asn: 15169
    src-asn: 2906

Inputs

    
dst-asn:
    description:
    - The destination ASN you whant to lookup for matches on IXP
    required: true

src-asn:
    description:
    - The source ASN you whant to lookup for matches on IXP
    required: true

password:
    description:
    - The peeringDB password
    required: false

username:
    description:
    - The peeringdb Username
    required: false

Outputs

object:
  description: object representing ASN data
  returned: success
  type: dict