Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cisco IOS router_object/id element should be nillable #298

Closed
wmunyan opened this issue Dec 6, 2017 · 1 comment
Closed

Cisco IOS router_object/id element should be nillable #298

wmunyan opened this issue Dec 6, 2017 · 1 comment

Comments

@wmunyan
Copy link

wmunyan commented Dec 6, 2017

The <router_object> defines the <id> element, which is noted as an “int”, however, in some of my configurations for the various routers and protocols, I am seeing router sections configured as:
router eigrp foo
and
router rip

alongside others which seem to match the “int” definition of the field:
router ospf 1
and
router bgp 1

My question then becomes, what do we collect in the first cases? For the router eigrp foo case, I cannot collect foo as the <id> for obvious reasons. For the router rip case, would the <id> be marked as “does not exist”? If there’s the potential to not have an <id> element collected in the system characteristics, how can that be defined in the <router_object>, since a value for <id> is required in the object. Is the xsi:nil allowed in this case? How would I create the <router_object> to collect “router rip”?

Does the schema need to change to allow either a “string” or and “int” value for the <id> field, and should the xsi:nil=true be allowed as well?

Response to the above questions, from Panos were:

I think when updating the Cisco schemata we indeed were focusing on router process ids used in the
 config (like BGP, EIGRP etc that you showed). We didn’t pay attention to instances like rip or
 pseudonames for eigrp. I don’t think these configs are used often, but someone that wants to be able to
 collect such system characteristics would indeed need a schema update.
 
Rgs,
Panos

Cheers,
-Bill M (CIS)

@zport
Copy link

zport commented Jan 14, 2019

Issue moved to OVAL-Community/OVAL #28 via ZenHub

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

No branches or pull requests

2 participants