Giter Site home page Giter Site logo

Comments (4)

glennmatthews avatar glennmatthews commented on June 25, 2024 1

Similar (IOS XR):

router bgp {{ host.asn }} vrf {{ vrf }}
 neighbor-group {{ group }}
  address-family ipv4 unicast
    route-policy {{ import_policy }} in
    multipath

from nautobot-app-bgp-models.

mzbroch avatar mzbroch commented on June 25, 2024

Proposal for PeerEndpointContext model implemented in the PR #33

from nautobot-app-bgp-models.

glennmatthews avatar glennmatthews commented on June 25, 2024

some earlier prototype code: https://github.com/nautobot/nautobot-plugin-bgp-models/blob/8ea4d5f2a62e800fe1007cf0ba59f84a00cc82a1/nautobot_bgp_models/models.py#L716

from nautobot-app-bgp-models.

glennmatthews avatar glennmatthews commented on June 25, 2024

More generally openconfig-bgp supports the following config levels:

      BGP
        |
        +-> [ global BGP configuration ]
          +-> AFI / SAFI global
        +-> peer group
          +-> [ peer group config ]
          +-> AFI / SAFI [ per-AFI overrides ]
        +-> neighbor
          +-> [ neighbor config ]
          +-> [ optional pointer to peer-group ]
          +-> AFI / SAFI [ per-AFI overrides ]

where the BGP container itself lives under a network-instance that might be a VRF, e.g.:

  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
    <network-instances xmlns="http://openconfig.net/yang/network-instance">
      <network-instance>
        <name>vrf1</name>
        <protocols>
          <protocol>
            <name>bgp</name>
            <identifier>BGP</identifier>
             <bgp xmlns="http://openconfig.net/yang/bgp">
              <global>
                <config xmlns="">
                  <as>100</as>
                  <router-id>2.2.2.2</router-id>
                </config>
              </global>
            </bgp>
           </protocol>
        </protocols>
      </network-instance>
    </network-instances>
  </config>

from nautobot-app-bgp-models.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.