Skip to content

Assign secondary IP-Address to Interface#394

Open
nerdfunk-net wants to merge 1 commit intonautobot:developfrom
nerdfunk-net:389.fixed
Open

Assign secondary IP-Address to Interface#394
nerdfunk-net wants to merge 1 commit intonautobot:developfrom
nerdfunk-net:389.fixed

Conversation

@nerdfunk-net
Copy link
Copy Markdown

Closes: #389

What's Changed

This PR adds the ability to assign a secondary IP to an interface. You can use this example to parse the output of show ip interface (eg. Cisco xe)

commands:
  - command: "show ip interface"
    parser: "textfsm"
    jpath: "[?interface=='{{ current_key }}'].{ip_address: ip_address, prefix_length: prefix_length}"
    post_processor: "{{ obj | parse_cisco_xe_show_ip_interface | tojson }}"

To Do

  • Explanation of Change(s)
  • Added change log fragment(s) (for more information see the documentation)
  • Attached Screenshots, Payload Example
  • Unit, Integration Tests
  • Documentation Updates (when adding/changing features)
  • Outline Remaining Work, Constraints from Design

Add role to the IP-Address model.
Added jinja filter to parse the output of 'show ip interface'.
Add the ability to assign a secondary IP-address to an interface.
@jeffkala
Copy link
Copy Markdown
Contributor

@Dav-C probably need you to look at this one. Seems like more would be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Assign secondary IP-Addresses to an interface when 'Syncing Network Data From Network'

2 participants