Comments (2)
On Fri, Apr 08, 2016 at 02:48:25AM -0700, Henrik Thostrup Jensen wrote:
Is this intentional? If I specify multiple sources, I'd expect the result from
both to be included.
Please, note that bgpq3 does not perform multiple per-source searches
itself, -S just instructs IRRD what sources to use before
invoking search commands:
snar@fri:~/compile/bgpq3>./bgpq3 -jf1 -ddddS jpirr,ripe AS-SINET
DEBUG: bgpq_expander.c:742 bgpq_expand Acquired sendbuf of 1065728 bytes
DEBUG: bgpq_expander.c:771 bgpq_expand Requesting sources !sjpirr,ripe
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEBUG: bgpq_expander.c:775 bgpq_expand Got answer C
DEBUG: bgpq_expander.c:597 bgpq_expand_irrd expander: sending '!iAS-SINET,1
And, as per irrd user manual (http://www.irrd.net/irrd-user.pdf, p. 35):
[quote starts]
The !i command searches the databases in the order specified by the user and
returns when it finds an object. When the ,1 option is specified to indicate
embedded set expansion, the command will expand embedded sets using the
database where the set was found. The other database sources, as specified by
the user, will only be used when a match is not found in the source in which
the set was found.
Therefore in the above sample command !iAS-ICINET,1, assuming the specified
search order is RADB, RIPE, Cable & Wireless, and the embedded set AS-LTINET
is found in the RIPE registry, AS-LTINET will be expanded first in the RIPE
registry, rather than in the RADB.
[/quote ends]
So, yes, this is intended behaviour (of IRRd).
from bgpq3.
Fair enough.
I would update the bgpq3 help output though. Right now it says:
-S sources: use only specified sources (default: RADB,RIPE,APNIC)
The use of plural is pretty confusing and does not match the above.
from bgpq3.
Related Issues (20)
- FATAL ERROR:EOF from RADB (dequeue, ripe) Exit Code 255 HOT 2
- Clarify Nokia (classic CLI) options HOT 2
- Feature Request: Do not print anything if 0 objects received HOT 4
- bgpq3 exit code is 255, stderr: b'FATAL ERROR:select timeout\n' HOT 2
- Limitations of bgpq3 -S HOT 1
- filter route and AS (possible feature request) HOT 2
- Rationale behind the recommended sources HOT 1
- Cisco IOS XR format lacks one space in indentation HOT 1
- Sequence numbers not respected with empty result HOT 1
- Subnet length wrong HOT 3
- Uncorrected as-patch filter for Huawei HOT 1
- Possibility of tagging a new release HOT 1
- Add BGPQ3 to Arista EOS HOT 5
- Allow generation of combined IPv4/IPv6 lists HOT 3
- About the operation when multiple database sources are specified by'-S flag'
- BSD-3 files
- Invalid symbol in ASN errors HOT 1
- Certain prefixes that show up in the RIPE GUI don't get outputted by BGPq3 when the ASSet is queried HOT 8
- missing some prefixes HOT 11
- Install on ASR9K
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bgpq3.