Giter VIP home page Giter VIP logo

search's People

Contributors

dependabot[bot] avatar evyncke avatar ihrasko avatar jclarke-csco avatar miroslavkovacpantheon avatar slavomirmazurpantheon avatar tomas-markovic avatar wlupton avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

search's Issues

Multiple identical entries in YANG Search

Hi,

https://www.yangcatalog.org/yang-search/ => search for ietf-interfaces, with default search options
The first two entries (admin-status) are similar.

Name Revision Schema Type Path Module Origin Organization Maturity Imported By # Modules Compilation Status Description
admin-status 2018-02-20 leaf /if:interfaces-state/if:interface/if:admin-status ietf-interfaces ( Module Details | Tree View | Impact Analysis) Industry Standard ietf ratified 200 passed The desired state of the interface. This leaf has the same read semantics as ifAdminStatus.
admin-status 2018-02-20 leaf /if:interfaces/if:interface/if:admin-status ietf-interfaces ( Module Details | Tree View | Impact Analysis) Industry Standard ietf ratified 200 passed The desired state of the interface. This leaf has the same read semantics as ifAdminStatus.

Maybe identical/related to #23

Do not fail if exception is thrown with build_yindex

If we get a exception while updating yangsearch with any of the module. keep the module in yang2_repo_cache.dat.failed file and move on to another one so we process all the modules and don t loose the resto of them

Problems getting node from yang_tree

https://www.yangcatalog.org/yang-search/yang_tree/Cisco-IOS-XR-telemetry-model-driven-oper@2017-09-27# => CLICK ON "total-other-errors"

https://www.yangcatalog.org/yang-search/yang_tree/show_node/Cisco-IOS-XR-telemetry-model-driven-oper//telemetry-model-driven-oper:telemetry-model-driven/telemetry-model-driven-oper:destinations/telemetry-model-driven-oper:destination/telemetry-model-driven-oper:destination/telemetry-model-driven-oper:collection-group/telemetry-model-driven-oper:total-other-errors

ERROR! Could not find data for Cisco-IOS-XR-telemetry-model-driven-oper at /telemetry-model-driven-oper:telemetry-model-driven/telemetry-model-driven-oper:destinations/telemetry-model-driven-oper:destination/telemetry-model-driven-oper:destination/telemetry-model-driven-oper:collection-group/telemetry-model-driven-oper:total-other-errors

The problem here is that it needs to contain ?<schema_type> after each node.. so the path must be more like this

https://www.yangcatalog.org/yang-search/show_node/Cisco-IOS-XR-ipv4-dhcpd-cfg//ipv4-dhcpd-cfg:ipv4-dhcpd%3Fcontainer/ipv4-dhcpd-cfg:interfaces%3Fcontainer/ipv4-dhcpd-cfg:interface%3Flist/ipv4-dhcpd-cfg:relay-interface%3Fcontainer/ipv4-dhcpd-cfg:relay-dhcp-circuit-id%3Fcontainer/ipv4-dhcpd-cfg:argument7%3Fleaf/2018-10-24

Impact graph submodule support

Naively I would expect a module (if not showing submodules) to look the same in the impact graph as if there were no submodules. So for example I’d expect bbf-fast to show a connection to ietf-interfaces. (Presence or absence of submodules is an implementation detail and often not relevant for impact analysis.)

Perhaps the "Include Sub-modules?" checkbox could enable/disable a mode that either completely exposes or completely hides submodules? If hidden, I wouldn't expect them to be available for either name completion or display.

remove organization suffix

Module Details for ietf-notification-capabilities has /ietf suffix there and it looks like the following ietf-notification-capabilities@2020-03-09/ietf

please remove the suffix

show error logs differently

Listing error logs on the top of the page might be annoying and takes up a lot of place. we should think of different way of displaying this. We disccuessed to either fade them out after several seconds or hide them with ability to show hide with some kind of +/- button

Problem to read yang tree

after searching a module detail of Cisco-IOS-XE-snmp@2019-11-01 and clicking on tree view we are receiving error and no output.

ERROR! Failed to read YANG tree data for Cisco-IOS-XE-snmp@2019-11-01, Expecting value: line 1 column 1 (char 0)

yang impact analysis is missing dependencies

This shows that bbf-ancp imports bbf-yang-types: https://yangcatalog.org/yang-search/impact_analysis/?modtags=bbf-ancp&orgtags=&recursion=&show_dir=both

But this shows nothing connected to bbf-yang-types: https://yangcatalog.org/yang-search/impact_analysis/?modtags=bbf-yang-types&orgtags=&recursion=0&show_dir=both

Another (possibly related) problem. If I do this, I see just the module, and not its bbf-ancp import: https://yangcatalog.org/yang-search/impact_analysis/?modtags=bbf-ancp-fastdsl-access-extensions&orgtags=&recursion=&show_dir=both

If I do this, I see bbf-ancp and its imports, but not the things that import it: https://yangcatalog.org/yang-search/impact_analysis/?modtags=bbf-ancp&orgtags=&recursion=0&show_dir=both

If I do this I get an error: https://yangcatalog.org/yang-search/impact_analysis/?modtags=bbf-ancp%2C+bbf-ancp-fastdsl-threshold%2Cbbf-ancp-fastdsl-access-extensions%2Cbbf-ancp-interfaces&orgtags=&recursion=0&show_dir=both

(Actually the thing I was going to give as the third example was just the first two modules specified together. I thought it too gave an error. Maybe I chose the wrong two. But anyway I’m able to demonstrate the error with the four modules, so I’ll leave it there. Thanks.)

ERRORS in YANG search

https://www.yangcatalog.org/yang-search/impact_analysis/?modtags=ietf-routing&orgtags=&recursion=1&show_rfcs=1&show_subm=1&show_dir=both
see the two ERRORS at the top.

The issue is problem with ietf-fb-rib-types yang file.. they import ietf-access-control-lists {prefix "acls";} but there is no such module. only ietf-access-control-list with no 's' at the end of the name... that s why elasticsearch couldn t find that module. this is module bug.

Btw, https://www.yangcatalog.org/yang-search/module_details/?module=ietf-fb-rib-types
=> There is no supporting document. Note that the draft expired.

The ERRORS point to an issue with our tool. We should try to mention the root cause: YANG issue in ietf-fb-rib-types

Automatic start

Per SoW "Scripted start of all services including API" this issue is specific to the Yang Search function

YANG search returns "ERROR! Could not find data"

Hi,

See https://www.yangcatalog.org/yang-search/yang_tree/Cisco-IOS-XR-manageability-perfmgmt-oper#
Select average-cpu-used
It produces:
ERROR! Could not find data for Cisco-IOS-XR-manageability-perfmgmt-oper at /manageability-perfmgmt-oper:perf-mgmt/manageability-perfmgmt-oper:periodic/manageability-perfmgmt-oper:nodes/manageability-perfmgmt-oper:node/manageability-perfmgmt-oper:sample-xr/manageability-perfmgmt-oper:sample/manageability-perfmgmt-oper:average-cpu-used

at https://www.yangcatalog.org/yang-search/yang_tree/show_node/Cisco-IOS-XR-manageability-perfmgmt-oper//manageability-perfmgmt-oper:perf-mgmt/manageability-perfmgmt-oper:periodic/manageability-perfmgmt-oper:nodes/manageability-perfmgmt-oper:node/manageability-perfmgmt-oper:sample-xr/manageability-perfmgmt-oper:sample/manageability-perfmgmt-oper:average-cpu-used

Regards, Benoit

elasticsearch required

Some version of the Python elasticsearch library seems to be required, so it should be added to requirements.txt.

Error with yang search

Impact graph BBF and IETF colors look quite similar for red/green colorblind people

This is related to issue #11 but refers specifically to the colors used for BBF and IETF, which look quite similar to me (I can distinguish them, but I have to work at it!). More obviously different colors would be appreciated. Perhaps a useful consideration for the non-afflicted is whether you could distinguish them in very low light levels, so you might consider using intensity as a distinguishing trait, in addition to hue.

screen shot 2018-10-29 at 10 45 41

Some OpenDaylight YANG modules have been removed

Impact graph submodule display

I'm probably misunderstanding the controls, but why don't I see submodules here? the bbf-fast module has MANY submodules!

screen shot 2018-10-29 at 10 52 44

Search bug for typedef

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.