Hi Iwase If I understand correctly, your PR allows more neighbor-related configuration to be done through the CLI, correct? What I'd like to have is ability to configure VRF and add a neighbor to it through the configuration file itself. What you're saying is that this feature is not supported because it's not supported by OpenConfig. Is my understanding correct?
thx aman -----Original Message----- From: Iwase Yusuke [mailto:iwase.yusu...@gmail.com] Sent: Wednesday, February 21, 2018 9:19 PM To: SHAIKH, AMAN (AMAN) <asha...@research.att.com> Cc: gobgp-devel@lists.sourceforge.net Subject: Re: [GoBGP-devel] Specifying VRF through gobgp config file Hi Aman, This is a very reason why I've create the following PR. https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_osrg_gobgp_pull_1576&d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=I_2UmL83HQfOEoCVzChS_fiJdy8vxHF4_JM0AhcKK4Y&m=WVbuplu1Sj_HbM0tuMRNJ90z04FiP7zA2elPi2ZaBD8&s=X3y34o7P9driReVX7rxQsHJEjupyr80wz1M05lZH6zI&e= GoBGP's configuration model follows OpenConfig model, but the OpenConfig version which GoBGP is using does not define the model of VRF... https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_osrg_public&d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=I_2UmL83HQfOEoCVzChS_fiJdy8vxHF4_JM0AhcKK4Y&m=WVbuplu1Sj_HbM0tuMRNJ90z04FiP7zA2elPi2ZaBD8&s=Qj4VpJCoMC7jNHkpQssvLkK9clt2RBNj3O7wRqay-eY&e= The upstream of the OpenConfig seem to mention about "VRF", but I couldn't find reasonable way... https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openconfig_public&d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=I_2UmL83HQfOEoCVzChS_fiJdy8vxHF4_JM0AhcKK4Y&m=WVbuplu1Sj_HbM0tuMRNJ90z04FiP7zA2elPi2ZaBD8&s=XVikVpoS1gI3NmIb43FnMWYioYexIKXYVRyEihGVMtc&e= Thanks, Iwase On 2018年02月17日 00:10, SHAIKH, AMAN (AMAN) wrote: > Hi > > Currently to add a VRF and associated BGP peer, I use the CLI commands. > > For example, > > gobgp vrf add blue id 6 rd 100:1 rt both 100:1 > > gobgp neighbor add 10.200.0.2 as 65001 vrf blue > > Is there a way to achieve the same through the config file (written in TOML)? > > thx > > aman > > > > ---------------------------------------------------------------------- > -------- Check out the vibrant tech community on one of the world's > most engaging tech sites, Slashdot.org! > https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot& > d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=I_2UmL83HQfOEoCVzChS_fiJdy8vxHF4_J > M0AhcKK4Y&m=WVbuplu1Sj_HbM0tuMRNJ90z04FiP7zA2elPi2ZaBD8&s=BXtOi28VlYDK > yvFY4-_mQUEzyYVocRgWnlHp9j0BdrI&e= > > > > _______________________________________________ > gobgp-devel mailing list > gobgp-devel@lists.sourceforge.net > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge > .net_lists_listinfo_gobgp-2Ddevel&d=DwIDaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r= > I_2UmL83HQfOEoCVzChS_fiJdy8vxHF4_JM0AhcKK4Y&m=WVbuplu1Sj_HbM0tuMRNJ90z > 04FiP7zA2elPi2ZaBD8&s=VJ1ZVF7xvKKBVtzH7El71MolcbIZwyaLy01abiTgkr8&e= > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ gobgp-devel mailing list gobgp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gobgp-devel