Cisco-IOS-XE-zone.yang missing interface type
lberkheiser opened this issue · 1 comments
lberkheiser commented
On an IOS-XE router that has Cellular interfaces, you can configure "zone-member security xyz" through CLI. But when you query that interface through NETCONF, that part of the configuration doesn't appear.
In the model Cisco-IOS-XE-zone.yang, several interface types (like Ethernet, Tunnel or Vlan) are listed, but Cellular is not. It's the same in the 16121, 1731 and 1741 models that I checked.
Output using netconf-console for /native/interface/GigabitEthernet:
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
<native xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-native">
<interface>
<GigabitEthernet>
<name>0/0/0</name>
<ip>
<address>
<negotiated/>
</address>
</ip>
<zone-member xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-zone">
<security>UNTRUST</security>
</zone-member>
</GigabitEthernet>
</interface>
</native>
</data>
Output using netconf-console for /native/interface/Cellular:
<native xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-native">
<interface>
<Cellular>
<name>0/1/0</name>
<ip>
<address>
<negotiated/>
</address>
</ip>
<pulse-time xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-cellular">1</pulse-time>
<dialer xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-dialer">
<in-band/>
<idle-timeout>0</idle-timeout>
</dialer>
<dialer-group xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-dialer">1</dialer-group>
</Cellular>
</interface>
</native>
</data>
einarnn commented
@lberkheiser, I've passed this on to Cisco development engineering. If I hear anything back I will update this thread.