04-27-2022 11:05 AM
Hi Team,
One of the container(cpu/utilization/state) in openconfig-platform-cpu model is returning data when we send rpc request , but while I Parse the output , the fields are empty . Able to fetch the data for other containers in the same model. I am using latest ydk models Any help is appreciated.
In [121]: rpc_out.component[0].cpu.utilization.state.min
In [122]: rpc_out.component[0].state
Out[122]: <ydk.models.cisco_ios_xr.openconfig_platform.Components.Component.State at 0x2b69efb9d258>
In [123]: rpc_out.component[0].state.type
Out[123]: <ydk.models.cisco_ios_xr.openconfig_platform_types.CONTROLLERCARD at 0x2b69f07d5678>
In [124]: rpc_out.component[0].state.id
Out[124]: '110593'
In [125]: rpc_out.component[0].state.location
Out[125]: '0/RP0'
Here is the output from read(), do let me know if I am missing out anything.
rpc_out = self.device.read(comp.cpu.utilization.state)
2022-04-19 12:58:37,617 - ydk - Info---- - Executing CRUD read operation on [openconfig-platform:components]
2022-04-19 12:58:37,617 - ydk - Info---- - Executing CRUD read operation on [openconfig-platform:components]
Info----:ydk:Executing CRUD read operation on [openconfig-platform:components]
2022-04-19 12:58:37,617 - ydk - Info---- - Executing 'get' RPC on [openconfig-platform:components]
2022-04-19 12:58:37,617 - ydk - Info---- - Executing 'get' RPC on [openconfig-platform:components]
Info----:ydk:Executing 'get' RPC on [openconfig-platform:components]
2022-04-19 12:58:37,619 - ydk - Debug--- - Getting new modules for path 'ietf-netconf:get'
2022-04-19 12:58:37,619 - ydk - Debug--- - Getting new modules for path 'ietf-netconf:get'
Debug---:ydk:Getting new modules for path 'ietf-netconf:get'
2022-04-19 12:58:37,620 - ydk - Debug--- - Loading module 'ietf-netconf', revision ''
2022-04-19 12:58:37,620 - ydk - Debug--- - Loading module 'ietf-netconf', revision ''
Debug---:ydk:Loading module 'ietf-netconf', revision ''
2022-04-19 12:58:37,620 - ydk - Debug--- - The module 'ietf-netconf' schema has already been populated in YDK repository
2022-04-19 12:58:37,620 - ydk - Debug--- - The module 'ietf-netconf' schema has already been populated in YDK repository
Debug---:ydk:The module 'ietf-netconf' schema has already been populated in YDK repository
2022-04-19 12:58:37,621 - ydk - Debug--- - Encoding the subtree filter request using XML subtree codec
2022-04-19 12:58:37,621 - ydk - Debug--- - Encoding the subtree filter request using XML subtree codec
Debug---:ydk:Encoding the subtree filter request using XML subtree codec
2022-04-19 12:58:37,621 - ydk.types.Entity - Debug--- - Get name leaf data for "components". Count: 0
2022-04-19 12:58:37,621 - ydk.types.Entity - Debug--- - Get name leaf data for "components". Count: 0
Debug---:ydk.types.Entity:Get name leaf data for "components". Count: 0
2022-04-19 12:58:37,621 - ydk - Debug--- - Getting new modules for path 'openconfig-platform:components'
2022-04-19 12:58:37,621 - ydk - Debug--- - Getting new modules for path 'openconfig-platform:components'
Debug---:ydk:Getting new modules for path 'openconfig-platform:components'
2022-04-19 12:58:37,622 - ydk - Debug--- - Loading module 'openconfig-platform', revision ''
2022-04-19 12:58:37,622 - ydk - Debug--- - Loading module 'openconfig-platform', revision ''
Debug---:ydk:Loading module 'openconfig-platform', revision ''
2022-04-19 12:58:37,622 - ydk - Debug--- - The module 'openconfig-platform' schema has already been populated in YDK repository
2022-04-19 12:58:37,622 - ydk - Debug--- - The module 'openconfig-platform' schema has already been populated in YDK repository
Debug---:ydk:The module 'openconfig-platform' schema has already been populated in YDK repository
2022-04-19 12:58:37,622 - ydk - Debug--- - Loading module 'cisco-xr-openconfig-platform-deviations', revision ''
2022-04-19 12:58:37,622 - ydk - Debug--- - Loading module 'cisco-xr-openconfig-platform-deviations', revision ''
Debug---:ydk:Loading module 'cisco-xr-openconfig-platform-deviations', revision ''
2022-04-19 12:58:37,622 - ydk - Debug--- - The module 'cisco-xr-openconfig-platform-deviations' schema present in Libyang repository, but not in YDK; consider populate
2022-04-19 12:58:37,622 - ydk - Debug--- - The module 'cisco-xr-openconfig-platform-deviations' schema present in Libyang repository, but not in YDK; consider populate
Debug---:ydk:The module 'cisco-xr-openconfig-platform-deviations' schema present in Libyang repository, but not in YDK; consider populate
2022-04-19 12:58:37,623 - ydk - Debug--- - Added new libyang deviation module 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,623 - ydk - Debug--- - Added new libyang deviation module 'cisco-xr-openconfig-platform-deviations'
Debug---:ydk:Added new libyang deviation module 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,623 - ydk - Debug--- - Populating new module schema 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,623 - ydk - Debug--- - Populating new module schema 'cisco-xr-openconfig-platform-deviations'
Debug---:ydk:Populating new module schema 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,623 - ydk - Debug--- - Looking to populate schemas for 'openconfig-platform:components'
2022-04-19 12:58:37,623 - ydk - Debug--- - Looking to populate schemas for 'openconfig-platform:components'
Debug---:ydk:Looking to populate schemas for 'openconfig-platform:components'
2022-04-19 12:58:37,623 - ydk - Debug--- - Getting new modules for path 'openconfig-platform:components'
2022-04-19 12:58:37,623 - ydk - Debug--- - Getting new modules for path 'openconfig-platform:components'
Debug---:ydk:Getting new modules for path 'openconfig-platform:components'
2022-04-19 12:58:37,624 - ydk - Debug--- - Loading module 'openconfig-platform', revision ''
2022-04-19 12:58:37,624 - ydk - Debug--- - Loading module 'openconfig-platform', revision ''
Debug---:ydk:Loading module 'openconfig-platform', revision ''
2022-04-19 12:58:37,624 - ydk - Debug--- - The module 'openconfig-platform' schema has already been populated in YDK repository
2022-04-19 12:58:37,624 - ydk - Debug--- - The module 'openconfig-platform' schema has already been populated in YDK repository
Debug---:ydk:The module 'openconfig-platform' schema has already been populated in YDK repository
2022-04-19 12:58:37,624 - ydk - Debug--- - Loading module 'cisco-xr-openconfig-platform-deviations', revision ''
2022-04-19 12:58:37,624 - ydk - Debug--- - Loading module 'cisco-xr-openconfig-platform-deviations', revision ''
Debug---:ydk:Loading module 'cisco-xr-openconfig-platform-deviations', revision ''
2022-04-19 12:58:37,624 - ydk - Debug--- - The module 'cisco-xr-openconfig-platform-deviations' schema present in Libyang repository, but not in YDK; consider populate
2022-04-19 12:58:37,624 - ydk - Debug--- - The module 'cisco-xr-openconfig-platform-deviations' schema present in Libyang repository, but not in YDK; consider populate
Debug---:ydk:The module 'cisco-xr-openconfig-platform-deviations' schema present in Libyang repository, but not in YDK; consider populate
2022-04-19 12:58:37,625 - ydk - Debug--- - Added new libyang deviation module 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,625 - ydk - Debug--- - Added new libyang deviation module 'cisco-xr-openconfig-platform-deviations'
Debug---:ydk:Added new libyang deviation module 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,626 - ydk - Debug--- - Populating new module schema 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,626 - ydk - Debug--- - Populating new module schema 'cisco-xr-openconfig-platform-deviations'
Debug---:ydk:Populating new module schema 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,626 - ydk - Debug--- - Creating root data node with path '/openconfig-platform:components'
2022-04-19 12:58:37,626 - ydk - Debug--- - Creating root data node with path '/openconfig-platform:components'
Debug---:ydk:Creating root data node with path '/openconfig-platform:components'
2022-04-19 12:58:37,626 - ydk - Debug--- - XMLCodec: Leaf count: 0
2022-04-19 12:58:37,626 - ydk - Debug--- - XMLCodec: Leaf count: 0
Debug---:ydk:XMLCodec: Leaf count: 0
2022-04-19 12:58:37,627 - ydk.types.Entity - Debug--- - Get name leaf data for "components". Count: 0
2022-04-19 12:58:37,627 - ydk.types.Entity - Debug--- - Get name leaf data for "components". Count: 0
Debug---:ydk.types.Entity:Get name leaf data for "components". Count: 0
2022-04-19 12:58:37,627 - ydk - Debug--- - XMLCodec: Children count for: openconfig-platform:components : 1
2022-04-19 12:58:37,627 - ydk - Debug--- - XMLCodec: Children count for: openconfig-platform:components : 1
Debug---:ydk:XMLCodec: Children count for: openconfig-platform:components : 1
2022-04-19 12:58:37,627 - ydk - Debug--- - ==================
2022-04-19 12:58:37,627 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,627 - ydk - Debug--- - XMLCodec: Looking at child 'component'
2022-04-19 12:58:37,627 - ydk - Debug--- - XMLCodec: Looking at child 'component'
Debug---:ydk:XMLCodec: Looking at child 'component'
2022-04-19 12:58:37,628 - ydk.types.Entity - Debug--- - Get name leaf data for "component". Count: 1
2022-04-19 12:58:37,628 - ydk.types.Entity - Debug--- - Get name leaf data for "component". Count: 1
Debug---:ydk.types.Entity:Get name leaf data for "component". Count: 1
2022-04-19 12:58:37,628 - ydk.types.Entity - Debug--- - Leaf data name: "name", value: "0/RP0", yfilter: "YFilter.not_set", is_set: "True"
2022-04-19 12:58:37,628 - ydk.types.Entity - Debug--- - Leaf data name: "name", value: "0/RP0", yfilter: "YFilter.not_set", is_set: "True"
Debug---:ydk.types.Entity:Leaf data name: "name", value: "0/RP0", yfilter: "YFilter.not_set", is_set: "True"
2022-04-19 12:58:37,628 - ydk - Debug--- - Looking to populate schemas for 'component[name='0/RP0']'
2022-04-19 12:58:37,628 - ydk - Debug--- - Looking to populate schemas for 'component[name='0/RP0']'
Debug---:ydk:Looking to populate schemas for 'component[name='0/RP0']'
2022-04-19 12:58:37,628 - ydk - Debug--- - Getting new modules for path 'component[name='0/RP0']'
2022-04-19 12:58:37,628 - ydk - Debug--- - Getting new modules for path 'component[name='0/RP0']'
Debug---:ydk:Getting new modules for path 'component[name='0/RP0']'
2022-04-19 12:58:37,629 - ydk - Debug--- - XMLCodec: Leaf count: 1
2022-04-19 12:58:37,629 - ydk - Debug--- - XMLCodec: Leaf count: 1
Debug---:ydk:XMLCodec: Leaf count: 1
2022-04-19 12:58:37,629 - ydk - Debug--- - Looking to populate schemas for 'name'
2022-04-19 12:58:37,629 - ydk - Debug--- - Looking to populate schemas for 'name'
Debug---:ydk:Looking to populate schemas for 'name'
2022-04-19 12:58:37,629 - ydk - Debug--- - Getting new modules for path 'name'
2022-04-19 12:58:37,629 - ydk - Debug--- - Getting new modules for path 'name'
Debug---:ydk:Getting new modules for path 'name'
2022-04-19 12:58:37,629 - ydk - Debug--- - XMLCodec: Creating child name of /openconfig-platform:platform-component-top/components/component with value: '0/RP0', is_set: true
2022-04-19 12:58:37,629 - ydk - Debug--- - XMLCodec: Creating child name of /openconfig-platform:platform-component-top/components/component with value: '0/RP0', is_set: true
Debug---:ydk:XMLCodec: Creating child name of /openconfig-platform:platform-component-top/components/component with value: '0/RP0', is_set: true
2022-04-19 12:58:37,629 - ydk - Debug--- - XmlCodec: Creating leaf node 'name' with value: '0/RP0'
2022-04-19 12:58:37,629 - ydk - Debug--- - XmlCodec: Creating leaf node 'name' with value: '0/RP0'
Debug---:ydk:XmlCodec: Creating leaf node 'name' with value: '0/RP0'
2022-04-19 12:58:37,630 - ydk.types.Entity - Debug--- - Get name leaf data for "component". Count: 1
2022-04-19 12:58:37,630 - ydk.types.Entity - Debug--- - Get name leaf data for "component". Count: 1
Debug---:ydk.types.Entity:Get name leaf data for "component". Count: 1
2022-04-19 12:58:37,630 - ydk.types.Entity - Debug--- - Leaf data name: "name", value: "0/RP0", yfilter: "YFilter.not_set", is_set: "True"
2022-04-19 12:58:37,630 - ydk.types.Entity - Debug--- - Leaf data name: "name", value: "0/RP0", yfilter: "YFilter.not_set", is_set: "True"
Debug---:ydk.types.Entity:Leaf data name: "name", value: "0/RP0", yfilter: "YFilter.not_set", is_set: "True"
2022-04-19 12:58:37,631 - ydk - Debug--- - XMLCodec: Children count for: component[name='0/RP0'] : 17
2022-04-19 12:58:37,631 - ydk - Debug--- - XMLCodec: Children count for: component[name='0/RP0'] : 17
Debug---:ydk:XMLCodec: Children count for: component[name='0/RP0'] : 17
2022-04-19 12:58:37,631 - ydk - Debug--- - ==================
2022-04-19 12:58:37,631 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,631 - ydk - Debug--- - XMLCodec: Looking at child 'backplane'
2022-04-19 12:58:37,631 - ydk - Debug--- - XMLCodec: Looking at child 'backplane'
Debug---:ydk:XMLCodec: Looking at child 'backplane'
2022-04-19 12:58:37,631 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,631 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,631 - ydk - Debug--- - ==================
2022-04-19 12:58:37,631 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,632 - ydk - Debug--- - XMLCodec: Looking at child 'chassis'
2022-04-19 12:58:37,632 - ydk - Debug--- - XMLCodec: Looking at child 'chassis'
Debug---:ydk:XMLCodec: Looking at child 'chassis'
2022-04-19 12:58:37,632 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,632 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,632 - ydk - Debug--- - ==================
2022-04-19 12:58:37,632 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,632 - ydk - Debug--- - XMLCodec: Looking at child 'config'
2022-04-19 12:58:37,632 - ydk - Debug--- - XMLCodec: Looking at child 'config'
Debug---:ydk:XMLCodec: Looking at child 'config'
2022-04-19 12:58:37,632 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,632 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,633 - ydk - Debug--- - ==================
2022-04-19 12:58:37,633 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,633 - ydk - Debug--- - XMLCodec: Looking at child 'cpu'
2022-04-19 12:58:37,633 - ydk - Debug--- - XMLCodec: Looking at child 'cpu'
Debug---:ydk:XMLCodec: Looking at child 'cpu'
2022-04-19 12:58:37,633 - ydk.types.Entity - Debug--- - Get name leaf data for "cpu". Count: 0
2022-04-19 12:58:37,633 - ydk.types.Entity - Debug--- - Get name leaf data for "cpu". Count: 0
Debug---:ydk.types.Entity:Get name leaf data for "cpu". Count: 0
2022-04-19 12:58:37,633 - ydk - Debug--- - Looking to populate schemas for 'cpu'
2022-04-19 12:58:37,633 - ydk - Debug--- - Looking to populate schemas for 'cpu'
Debug---:ydk:Looking to populate schemas for 'cpu'
2022-04-19 12:58:37,633 - ydk - Debug--- - Getting new modules for path 'cpu'
2022-04-19 12:58:37,633 - ydk - Debug--- - Getting new modules for path 'cpu'
Debug---:ydk:Getting new modules for path 'cpu'
2022-04-19 12:58:37,634 - ydk - Debug--- - XMLCodec: Leaf count: 0
2022-04-19 12:58:37,634 - ydk - Debug--- - XMLCodec: Leaf count: 0
Debug---:ydk:XMLCodec: Leaf count: 0
2022-04-19 12:58:37,634 - ydk.types.Entity - Debug--- - Get name leaf data for "cpu". Count: 0
2022-04-19 12:58:37,634 - ydk.types.Entity - Debug--- - Get name leaf data for "cpu". Count: 0
Debug---:ydk.types.Entity:Get name leaf data for "cpu". Count: 0
2022-04-19 12:58:37,634 - ydk - Debug--- - XMLCodec: Children count for: cpu : 3
2022-04-19 12:58:37,634 - ydk - Debug--- - XMLCodec: Children count for: cpu : 3
Debug---:ydk:XMLCodec: Children count for: cpu : 3
2022-04-19 12:58:37,634 - ydk - Debug--- - ==================
2022-04-19 12:58:37,634 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,634 - ydk - Debug--- - XMLCodec: Looking at child 'config'
2022-04-19 12:58:37,634 - ydk - Debug--- - XMLCodec: Looking at child 'config'
Debug---:ydk:XMLCodec: Looking at child 'config'
2022-04-19 12:58:37,635 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,635 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,635 - ydk - Debug--- - ==================
2022-04-19 12:58:37,635 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,635 - ydk - Debug--- - XMLCodec: Looking at child 'state'
2022-04-19 12:58:37,635 - ydk - Debug--- - XMLCodec: Looking at child 'state'
Debug---:ydk:XMLCodec: Looking at child 'state'
2022-04-19 12:58:37,635 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,635 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,635 - ydk - Debug--- - ==================
2022-04-19 12:58:37,635 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,635 - ydk - Debug--- - XMLCodec: Looking at child 'utilization'
2022-04-19 12:58:37,635 - ydk - Debug--- - XMLCodec: Looking at child 'utilization'
Debug---:ydk:XMLCodec: Looking at child 'utilization'
2022-04-19 12:58:37,636 - ydk.types.Entity - Debug--- - Get name leaf data for "utilization". Count: 0
2022-04-19 12:58:37,636 - ydk.types.Entity - Debug--- - Get name leaf data for "utilization". Count: 0
Debug---:ydk.types.Entity:Get name leaf data for "utilization". Count: 0
2022-04-19 12:58:37,636 - ydk - Debug--- - Looking to populate schemas for 'openconfig-platform-cpu:utilization'
2022-04-19 12:58:37,636 - ydk - Debug--- - Looking to populate schemas for 'openconfig-platform-cpu:utilization'
Debug---:ydk:Looking to populate schemas for 'openconfig-platform-cpu:utilization'
2022-04-19 12:58:37,636 - ydk - Debug--- - Getting new modules for path 'openconfig-platform-cpu:utilization'
2022-04-19 12:58:37,636 - ydk - Debug--- - Getting new modules for path 'openconfig-platform-cpu:utilization'
Debug---:ydk:Getting new modules for path 'openconfig-platform-cpu:utilization'
2022-04-19 12:58:37,637 - ydk - Debug--- - Loading module 'openconfig-platform-cpu', revision ''
2022-04-19 12:58:37,637 - ydk - Debug--- - Loading module 'openconfig-platform-cpu', revision ''
Debug---:ydk:Loading module 'openconfig-platform-cpu', revision ''
2022-04-19 12:58:37,637 - ydk - Debug--- - The module 'openconfig-platform-cpu' schema present in Libyang repository, but not in YDK; consider populate
2022-04-19 12:58:37,637 - ydk - Debug--- - The module 'openconfig-platform-cpu' schema present in Libyang repository, but not in YDK; consider populate
Debug---:ydk:The module 'openconfig-platform-cpu' schema present in Libyang repository, but not in YDK; consider populate
2022-04-19 12:58:37,637 - ydk - Debug--- - Added new libyang module 'openconfig-platform-cpu'
2022-04-19 12:58:37,637 - ydk - Debug--- - Added new libyang module 'openconfig-platform-cpu'
Debug---:ydk:Added new libyang module 'openconfig-platform-cpu'
2022-04-19 12:58:37,637 - ydk - Debug--- - Populating new module schema 'openconfig-platform-cpu'
2022-04-19 12:58:37,637 - ydk - Debug--- - Populating new module schema 'openconfig-platform-cpu'
Debug---:ydk:Populating new module schema 'openconfig-platform-cpu'
2022-04-19 12:58:37,637 - ydk - Debug--- - Populating augmented schema node 'component-cpu-utilization'
2022-04-19 12:58:37,637 - ydk - Debug--- - Populating augmented schema node 'component-cpu-utilization'
Debug---:ydk:Populating augmented schema node 'component-cpu-utilization'
2022-04-19 12:58:37,638 - ydk - Debug--- - Populating new schema node 'utilization'
2022-04-19 12:58:37,638 - ydk - Debug--- - Populating new schema node 'utilization'
Debug---:ydk:Populating new schema node 'utilization'
2022-04-19 12:58:37,638 - ydk - Debug--- - XMLCodec: Leaf count: 0
2022-04-19 12:58:37,638 - ydk - Debug--- - XMLCodec: Leaf count: 0
Debug---:ydk:XMLCodec: Leaf count: 0
2022-04-19 12:58:37,638 - ydk.types.Entity - Debug--- - Get name leaf data for "utilization". Count: 0
2022-04-19 12:58:37,638 - ydk.types.Entity - Debug--- - Get name leaf data for "utilization". Count: 0
Debug---:ydk.types.Entity:Get name leaf data for "utilization". Count: 0
2022-04-19 12:58:37,638 - ydk - Debug--- - XMLCodec: Children count for: openconfig-platform-cpu:utilization : 1
2022-04-19 12:58:37,638 - ydk - Debug--- - XMLCodec: Children count for: openconfig-platform-cpu:utilization : 1
Debug---:ydk:XMLCodec: Children count for: openconfig-platform-cpu:utilization : 1
2022-04-19 12:58:37,638 - ydk - Debug--- - ==================
2022-04-19 12:58:37,638 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,639 - ydk - Debug--- - XMLCodec: Looking at child 'state'
2022-04-19 12:58:37,639 - ydk - Debug--- - XMLCodec: Looking at child 'state'
Debug---:ydk:XMLCodec: Looking at child 'state'
2022-04-19 12:58:37,639 - ydk.types.Entity - Debug--- - Get name leaf data for "state". Count: 0
2022-04-19 12:58:37,639 - ydk.types.Entity - Debug--- - Get name leaf data for "state". Count: 0
Debug---:ydk.types.Entity:Get name leaf data for "state". Count: 0
2022-04-19 12:58:37,639 - ydk - Debug--- - Looking to populate schemas for 'state'
2022-04-19 12:58:37,639 - ydk - Debug--- - Looking to populate schemas for 'state'
Debug---:ydk:Looking to populate schemas for 'state'
2022-04-19 12:58:37,639 - ydk - Debug--- - Getting new modules for path 'state'
2022-04-19 12:58:37,639 - ydk - Debug--- - Getting new modules for path 'state'
Debug---:ydk:Getting new modules for path 'state'
2022-04-19 12:58:37,639 - ydk - Debug--- - XMLCodec: Leaf count: 0
2022-04-19 12:58:37,639 - ydk - Debug--- - XMLCodec: Leaf count: 0
Debug---:ydk:XMLCodec: Leaf count: 0
2022-04-19 12:58:37,640 - ydk.types.Entity - Debug--- - Get name leaf data for "state". Count: 0
2022-04-19 12:58:37,640 - ydk.types.Entity - Debug--- - Get name leaf data for "state". Count: 0
Debug---:ydk.types.Entity:Get name leaf data for "state". Count: 0
2022-04-19 12:58:37,640 - ydk - Debug--- - XMLCodec: Children count for: state : 0
2022-04-19 12:58:37,640 - ydk - Debug--- - XMLCodec: Children count for: state : 0
Debug---:ydk:XMLCodec: Children count for: state : 0
2022-04-19 12:58:37,640 - ydk - Debug--- - ==================
2022-04-19 12:58:37,640 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,640 - ydk - Debug--- - XMLCodec: Looking at child 'fabric'
2022-04-19 12:58:37,640 - ydk - Debug--- - XMLCodec: Looking at child 'fabric'
Debug---:ydk:XMLCodec: Looking at child 'fabric'
2022-04-19 12:58:37,641 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,641 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,641 - ydk - Debug--- - ==================
2022-04-19 12:58:37,641 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,641 - ydk - Debug--- - XMLCodec: Looking at child 'fan'
2022-04-19 12:58:37,641 - ydk - Debug--- - XMLCodec: Looking at child 'fan'
Debug---:ydk:XMLCodec: Looking at child 'fan'
2022-04-19 12:58:37,641 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,641 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,641 - ydk - Debug--- - ==================
2022-04-19 12:58:37,641 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,641 - ydk - Debug--- - XMLCodec: Looking at child 'integrated-circuit'
2022-04-19 12:58:37,641 - ydk - Debug--- - XMLCodec: Looking at child 'integrated-circuit'
Debug---:ydk:XMLCodec: Looking at child 'integrated-circuit'
2022-04-19 12:58:37,642 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,642 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,642 - ydk - Debug--- - ==================
2022-04-19 12:58:37,642 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,642 - ydk - Debug--- - XMLCodec: Looking at child 'linecard'
2022-04-19 12:58:37,642 - ydk - Debug--- - XMLCodec: Looking at child 'linecard'
Debug---:ydk:XMLCodec: Looking at child 'linecard'
2022-04-19 12:58:37,642 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,642 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,643 - ydk - Debug--- - ==================
2022-04-19 12:58:37,643 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,643 - ydk - Debug--- - XMLCodec: Looking at child 'optical-channel'
2022-04-19 12:58:37,643 - ydk - Debug--- - XMLCodec: Looking at child 'optical-channel'
Debug---:ydk:XMLCodec: Looking at child 'optical-channel'
2022-04-19 12:58:37,644 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,644 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,644 - ydk - Debug--- - ==================
2022-04-19 12:58:37,644 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,644 - ydk - Debug--- - XMLCodec: Looking at child 'optical-port'
2022-04-19 12:58:37,644 - ydk - Debug--- - XMLCodec: Looking at child 'optical-port'
Debug---:ydk:XMLCodec: Looking at child 'optical-port'
2022-04-19 12:58:37,645 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,645 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,645 - ydk - Debug--- - ==================
2022-04-19 12:58:37,645 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,645 - ydk - Debug--- - XMLCodec: Looking at child 'port'
2022-04-19 12:58:37,645 - ydk - Debug--- - XMLCodec: Looking at child 'port'
Debug---:ydk:XMLCodec: Looking at child 'port'
2022-04-19 12:58:37,645 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,645 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,646 - ydk - Debug--- - ==================
2022-04-19 12:58:37,646 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,646 - ydk - Debug--- - XMLCodec: Looking at child 'power-supply'
2022-04-19 12:58:37,646 - ydk - Debug--- - XMLCodec: Looking at child 'power-supply'
Debug---:ydk:XMLCodec: Looking at child 'power-supply'
2022-04-19 12:58:37,646 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,646 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,646 - ydk - Debug--- - ==================
2022-04-19 12:58:37,646 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,647 - ydk - Debug--- - XMLCodec: Looking at child 'properties'
2022-04-19 12:58:37,647 - ydk - Debug--- - XMLCodec: Looking at child 'properties'
Debug---:ydk:XMLCodec: Looking at child 'properties'
2022-04-19 12:58:37,647 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,647 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,648 - ydk - Debug--- - ==================
2022-04-19 12:58:37,648 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,648 - ydk - Debug--- - XMLCodec: Looking at child 'state'
2022-04-19 12:58:37,648 - ydk - Debug--- - XMLCodec: Looking at child 'state'
Debug---:ydk:XMLCodec: Looking at child 'state'
2022-04-19 12:58:37,649 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,649 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,649 - ydk - Debug--- - ==================
2022-04-19 12:58:37,649 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,649 - ydk - Debug--- - XMLCodec: Looking at child 'storage'
2022-04-19 12:58:37,649 - ydk - Debug--- - XMLCodec: Looking at child 'storage'
Debug---:ydk:XMLCodec: Looking at child 'storage'
2022-04-19 12:58:37,650 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,650 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,650 - ydk - Debug--- - ==================
2022-04-19 12:58:37,650 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,650 - ydk - Debug--- - XMLCodec: Looking at child 'subcomponents'
2022-04-19 12:58:37,650 - ydk - Debug--- - XMLCodec: Looking at child 'subcomponents'
Debug---:ydk:XMLCodec: Looking at child 'subcomponents'
2022-04-19 12:58:37,651 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,651 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,651 - ydk - Debug--- - ==================
2022-04-19 12:58:37,651 - ydk - Debug--- - ==================
Debug---:ydk:==================
2022-04-19 12:58:37,651 - ydk - Debug--- - XMLCodec: Looking at child 'transceiver'
2022-04-19 12:58:37,651 - ydk - Debug--- - XMLCodec: Looking at child 'transceiver'
Debug---:ydk:XMLCodec: Looking at child 'transceiver'
2022-04-19 12:58:37,652 - ydk - Debug--- - XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,652 - ydk - Debug--- - XMLCodec: Child has no data and no operations
Debug---:ydk:XMLCodec: Child has no data and no operations
2022-04-19 12:58:37,653 - ydk - Debug--- - Populating schema for 'filter'
2022-04-19 12:58:37,653 - ydk - Debug--- - Populating schema for 'filter'
Debug---:ydk:Populating schema for 'filter'
2022-04-19 12:58:37,653 - ydk - Debug--- - Looking to populate schemas for 'filter'
2022-04-19 12:58:37,653 - ydk - Debug--- - Looking to populate schemas for 'filter'
Debug---:ydk:Looking to populate schemas for 'filter'
2022-04-19 12:58:37,653 - ydk - Debug--- - Getting new modules for path 'filter'
2022-04-19 12:58:37,653 - ydk - Debug--- - Getting new modules for path 'filter'
Debug---:ydk:Getting new modules for path 'filter'
2022-04-19 12:58:37,654 - ydk - Debug--- - Populating schema for '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
2022-04-19 12:58:37,654 - ydk - Debug--- - Populating schema for '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
Debug---:ydk:Populating schema for '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
2022-04-19 12:58:37,654 - ydk - Debug--- - Looking to populate schemas for '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
2022-04-19 12:58:37,654 - ydk - Debug--- - Looking to populate schemas for '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
Debug---:ydk:Looking to populate schemas for '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
2022-04-19 12:58:37,655 - ydk - Debug--- - Getting new modules for path '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
2022-04-19 12:58:37,655 - ydk - Debug--- - Getting new modules for path '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
Debug---:ydk:Getting new modules for path '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
2022-04-19 12:58:37,655 - ydk - Debug--- - Creating node 'filter' with value '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
2022-04-19 12:58:37,655 - ydk - Debug--- - Creating node 'filter' with value '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
Debug---:ydk:Creating node 'filter' with value '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>'
2022-04-19 12:58:37,655 - ydk - Debug--- - Current path: /ietf-netconf:get
2022-04-19 12:58:37,655 - ydk - Debug--- - Current path: /ietf-netconf:get
Debug---:ydk:Current path: /ietf-netconf:get
2022-04-19 12:58:37,656 - ydk - Debug--- - Top container path: ietf-netconf:get
2022-04-19 12:58:37,656 - ydk - Debug--- - Top container path: ietf-netconf:get
Debug---:ydk:Top container path: ietf-netconf:get
2022-04-19 12:58:37,656 - ydk - Debug--- - Populating schema for 'filter'
2022-04-19 12:58:37,656 - ydk - Debug--- - Populating schema for 'filter'
Debug---:ydk:Populating schema for 'filter'
2022-04-19 12:58:37,656 - ydk - Debug--- - Looking to populate schemas for 'filter'
2022-04-19 12:58:37,656 - ydk - Debug--- - Looking to populate schemas for 'filter'
Debug---:ydk:Looking to populate schemas for 'filter'
2022-04-19 12:58:37,657 - ydk - Debug--- - Getting new modules for path 'filter'
2022-04-19 12:58:37,657 - ydk - Debug--- - Getting new modules for path 'filter'
Debug---:ydk:Getting new modules for path 'filter'
2022-04-19 12:58:37,657 - ydk - Debug--- - Getting child schema with path 'filter' in /ietf-netconf:get
2022-04-19 12:58:37,657 - ydk - Debug--- - Getting child schema with path 'filter' in /ietf-netconf:get
Debug---:ydk:Getting child schema with path 'filter' in /ietf-netconf:get
2022-04-19 12:58:37,657 - ydk - Debug--- - Getting data nodes with path 'filter'
2022-04-19 12:58:37,657 - ydk - Debug--- - Getting data nodes with path 'filter'
Debug---:ydk:Getting data nodes with path 'filter'
2022-04-19 12:58:37,657 - ydk - Debug--- - Creating new data path 'filter' with value '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>' in 'get'
2022-04-19 12:58:37,657 - ydk - Debug--- - Creating new data path 'filter' with value '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>' in 'get'
Debug---:ydk:Creating new data path 'filter' with value '<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>' in 'get'
2022-04-19 12:58:37,658 - ydk - Debug--- - Getting new modules for path 'ydk:create'
2022-04-19 12:58:37,658 - ydk - Debug--- - Getting new modules for path 'ydk:create'
Debug---:ydk:Getting new modules for path 'ydk:create'
2022-04-19 12:58:37,658 - ydk - Debug--- - Loading module 'ydk', revision ''
2022-04-19 12:58:37,658 - ydk - Debug--- - Loading module 'ydk', revision ''
Debug---:ydk:Loading module 'ydk', revision ''
2022-04-19 12:58:37,659 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
2022-04-19 12:58:37,659 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository
2022-04-19 12:58:37,659 - ydk - Debug--- - Getting new modules for path 'ydk:read'
2022-04-19 12:58:37,659 - ydk - Debug--- - Getting new modules for path 'ydk:read'
Debug---:ydk:Getting new modules for path 'ydk:read'
2022-04-19 12:58:37,659 - ydk - Debug--- - Loading module 'ydk', revision ''
2022-04-19 12:58:37,659 - ydk - Debug--- - Loading module 'ydk', revision ''
Debug---:ydk:Loading module 'ydk', revision ''
2022-04-19 12:58:37,660 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
2022-04-19 12:58:37,660 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository
2022-04-19 12:58:37,660 - ydk - Debug--- - Getting new modules for path 'ydk:update'
2022-04-19 12:58:37,660 - ydk - Debug--- - Getting new modules for path 'ydk:update'
Debug---:ydk:Getting new modules for path 'ydk:update'
2022-04-19 12:58:37,660 - ydk - Debug--- - Loading module 'ydk', revision ''
2022-04-19 12:58:37,660 - ydk - Debug--- - Loading module 'ydk', revision ''
Debug---:ydk:Loading module 'ydk', revision ''
2022-04-19 12:58:37,660 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
2022-04-19 12:58:37,660 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository
2022-04-19 12:58:37,660 - ydk - Debug--- - Getting new modules for path 'ydk:delete'
2022-04-19 12:58:37,660 - ydk - Debug--- - Getting new modules for path 'ydk:delete'
Debug---:ydk:Getting new modules for path 'ydk:delete'
2022-04-19 12:58:37,661 - ydk - Debug--- - Loading module 'ydk', revision ''
2022-04-19 12:58:37,661 - ydk - Debug--- - Loading module 'ydk', revision ''
Debug---:ydk:Loading module 'ydk', revision ''
2022-04-19 12:58:37,661 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
2022-04-19 12:58:37,661 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository
2022-04-19 12:58:37,661 - ydk - Debug--- - ydk::path::Codec: Encoding data node '/ietf-netconf:get' to XML formated string
2022-04-19 12:58:37,661 - ydk - Debug--- - ydk::path::Codec: Encoding data node '/ietf-netconf:get' to XML formated string
Debug---:ydk:ydk::path::Codec: Encoding data node '/ietf-netconf:get' to XML formated string
2022-04-19 12:58:37,661 - ydk - Info---- - ============= Sending RPC to device =============
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><get xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<filter><components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components></filter>
</get>
</rpc>
2022-04-19 12:58:37,661 - ydk - Info---- - ============= Sending RPC to device =============
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><get xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<filter><components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components></filter>
</get>
</rpc>
Info----:ydk:============= Sending RPC to device =============
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><get xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<filter><components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components></filter>
</get>
</rpc>
2022-04-19 12:58:37,662 - ydk - Debug--- - NetconfSSHClient: NC session status: 1
2022-04-19 12:58:37,662 - ydk - Debug--- - NetconfSSHClient: NC session status: 1
Debug---:ydk:NetconfSSHClient: NC session status: 1
2022-04-19 12:58:37,663 - ydk - Debug--- - Trace: Missing message-id in rpc.
2022-04-19 12:58:37,663 - ydk - Debug--- - Trace: Missing message-id in rpc.
Debug---:ydk:Trace: Missing message-id in rpc.
2022-04-19 12:58:37,663 - ydk - Debug--- - Netconf SSH Client: sending RPC
2022-04-19 12:58:37,663 - ydk - Debug--- - Netconf SSH Client: sending RPC
Debug---:ydk:Netconf SSH Client: sending RPC
2022-04-19 12:58:37,663 - ydk - Debug--- - Trace: Writing message (session 2933664974):
<?xml version="1.0"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
<get>
<filter>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>
</filter>
</get>
</rpc>
2022-04-19 12:58:37,663 - ydk - Debug--- - Trace: Writing message (session 2933664974):
<?xml version="1.0"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
<get>
<filter>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>
</filter>
</get>
</rpc>
Debug---:ydk:Trace: Writing message (session 2933664974):
<?xml version="1.0"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
<get>
<filter>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu>
<utilization xmlns="http://openconfig.net/yang/platform/cpu">
<state/>
</utilization>
</cpu>
</component>
</components>
</filter>
</get>
</rpc>
2022-04-19 12:58:37,664 - ydk - Debug--- - NetconfSSHClient: NC session status: 1
2022-04-19 12:58:37,664 - ydk - Debug--- - NetconfSSHClient: NC session status: 1
Debug---:ydk:NetconfSSHClient: NC session status: 1
2022-04-19 12:58:37,664 - ydk - Debug--- - Netconf SSH Client: receiving reply RPC
2022-04-19 12:58:37,664 - ydk - Debug--- - Netconf SSH Client: receiving reply RPC
Debug---:ydk:Netconf SSH Client: receiving reply RPC
2022-04-19 12:58:37,887 - ydk - Debug--- - Trace: Received message (session 2933664974):
<?xml version="1.0"?>
<rpc-reply message-id="12" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<data>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
</data>
</rpc-reply>
2022-04-19 12:58:37,887 - ydk - Debug--- - Trace: Received message (session 2933664974):
<?xml version="1.0"?>
<rpc-reply message-id="12" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<data>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
</data>
</rpc-reply>
Debug---:ydk:Trace: Received message (session 2933664974):
<?xml version="1.0"?>
<rpc-reply message-id="12" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<data>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
</data>
</rpc-reply>
2022-04-19 12:58:37,888 - ydk - Debug--- - Netconf SSH Client: processing reply
2022-04-19 12:58:37,888 - ydk - Debug--- - Netconf SSH Client: processing reply
Debug---:ydk:Netconf SSH Client: processing reply
2022-04-19 12:58:37,888 - ydk - Info---- - ============= Received RPC from device =============
<?xml version="1.0"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
<data>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
</data>
</rpc-reply>
2022-04-19 12:58:37,888 - ydk - Info---- - ============= Received RPC from device =============
<?xml version="1.0"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
<data>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
</data>
</rpc-reply>
Info----:ydk:============= Received RPC from device =============
<?xml version="1.0"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
<data>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
</data>
</rpc-reply>
2022-04-19 12:58:37,888 - ydk - Debug--- - ydk::path::Codec: Decoding from XML formatted payload:
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
2022-04-19 12:58:37,888 - ydk - Debug--- - ydk::path::Codec: Decoding from XML formatted payload:
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
Debug---:ydk:ydk::path::Codec: Decoding from XML formatted payload:
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
2022-04-19 12:58:37,888 - ydk - Debug--- - Populating new schema from payload:
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
2022-04-19 12:58:37,888 - ydk - Debug--- - Populating new schema from payload:
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
Debug---:ydk:Populating new schema from payload:
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>0/RP0</name>
<cpu xmlns="http://openconfig.net/yang/platform/cpu">
<utilization>
<state>
<instant>1</instant>
<avg>1</avg>
<min>1</min>
<max>1</max>
<interval>300000000000</interval>
<min-time>1650352294935292431</min-time>
<max-time>1650352294935292431</max-time>
</state>
</utilization>
</cpu>
</component>
</components>
2022-04-19 12:58:37,889 - ydk - Debug--- - Extracting module namespaces from XML payload
2022-04-19 12:58:37,889 - ydk - Debug--- - Extracting module namespaces from XML payload
Debug---:ydk:Extracting module namespaces from XML payload
2022-04-19 12:58:37,890 - ydk - Debug--- - Loading module 'openconfig-platform-cpu', revision ''
2022-04-19 12:58:37,890 - ydk - Debug--- - Loading module 'openconfig-platform-cpu', revision ''
Debug---:ydk:Loading module 'openconfig-platform-cpu', revision ''
2022-04-19 12:58:37,890 - ydk - Debug--- - The module 'openconfig-platform-cpu' schema present in Libyang repository, but not in YDK; consider populate
2022-04-19 12:58:37,890 - ydk - Debug--- - The module 'openconfig-platform-cpu' schema present in Libyang repository, but not in YDK; consider populate
Debug---:ydk:The module 'openconfig-platform-cpu' schema present in Libyang repository, but not in YDK; consider populate
2022-04-19 12:58:37,890 - ydk - Debug--- - Added new libyang module 'openconfig-platform-cpu'
2022-04-19 12:58:37,890 - ydk - Debug--- - Added new libyang module 'openconfig-platform-cpu'
Debug---:ydk:Added new libyang module 'openconfig-platform-cpu'
2022-04-19 12:58:37,890 - ydk - Debug--- - Loading module 'openconfig-platform', revision ''
2022-04-19 12:58:37,890 - ydk - Debug--- - Loading module 'openconfig-platform', revision ''
Debug---:ydk:Loading module 'openconfig-platform', revision ''
2022-04-19 12:58:37,890 - ydk - Debug--- - The module 'openconfig-platform' schema has already been populated in YDK repository
2022-04-19 12:58:37,890 - ydk - Debug--- - The module 'openconfig-platform' schema has already been populated in YDK repository
Debug---:ydk:The module 'openconfig-platform' schema has already been populated in YDK repository
2022-04-19 12:58:37,891 - ydk - Debug--- - Loading module 'cisco-xr-openconfig-platform-deviations', revision ''
2022-04-19 12:58:37,891 - ydk - Debug--- - Loading module 'cisco-xr-openconfig-platform-deviations', revision ''
Debug---:ydk:Loading module 'cisco-xr-openconfig-platform-deviations', revision ''
2022-04-19 12:58:37,891 - ydk - Debug--- - The module 'cisco-xr-openconfig-platform-deviations' schema present in Libyang repository, but not in YDK; consider populate
2022-04-19 12:58:37,891 - ydk - Debug--- - The module 'cisco-xr-openconfig-platform-deviations' schema present in Libyang repository, but not in YDK; consider populate
Debug---:ydk:The module 'cisco-xr-openconfig-platform-deviations' schema present in Libyang repository, but not in YDK; consider populate
2022-04-19 12:58:37,891 - ydk - Debug--- - Added new libyang deviation module 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,891 - ydk - Debug--- - Added new libyang deviation module 'cisco-xr-openconfig-platform-deviations'
Debug---:ydk:Added new libyang deviation module 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,892 - ydk - Debug--- - Populating new module schema 'openconfig-platform-cpu'
2022-04-19 12:58:37,892 - ydk - Debug--- - Populating new module schema 'openconfig-platform-cpu'
Debug---:ydk:Populating new module schema 'openconfig-platform-cpu'
2022-04-19 12:58:37,892 - ydk - Debug--- - Populating augmented schema node 'component-cpu-utilization'
2022-04-19 12:58:37,892 - ydk - Debug--- - Populating augmented schema node 'component-cpu-utilization'
Debug---:ydk:Populating augmented schema node 'component-cpu-utilization'
2022-04-19 12:58:37,892 - ydk - Debug--- - Populating new schema node 'utilization'
2022-04-19 12:58:37,892 - ydk - Debug--- - Populating new schema node 'utilization'
Debug---:ydk:Populating new schema node 'utilization'
2022-04-19 12:58:37,892 - ydk - Debug--- - Populating new module schema 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,892 - ydk - Debug--- - Populating new module schema 'cisco-xr-openconfig-platform-deviations'
Debug---:ydk:Populating new module schema 'cisco-xr-openconfig-platform-deviations'
2022-04-19 12:58:37,893 - ydk - Debug--- - [libyang] Resolving unresolved data nodes and their constraints...
2022-04-19 12:58:37,893 - ydk - Debug--- - [libyang] Resolving unresolved data nodes and their constraints...
Debug---:ydk:[libyang] Resolving unresolved data nodes and their constraints...
2022-04-19 12:58:37,893 - ydk - Debug--- - [libyang] All data nodes and constraints resolved.
2022-04-19 12:58:37,893 - ydk - Debug--- - [libyang] All data nodes and constraints resolved.
Debug---:ydk:[libyang] All data nodes and constraints resolved.
2022-04-19 12:58:37,893 - ydk - Debug--- - Performing decode operation
2022-04-19 12:58:37,893 - ydk - Debug--- - Performing decode operation
Debug---:ydk:Performing decode operation
2022-04-19 12:58:37,894 - ydk - Debug--- - Looking at parent entity 'components'
2022-04-19 12:58:37,894 - ydk - Debug--- - Looking at parent entity 'components'
Debug---:ydk:Looking at parent entity 'components'
2022-04-19 12:58:37,894 - ydk - Debug--- - Looking at child list '/openconfig-platform:components/component[name='0/RP0']'
2022-04-19 12:58:37,894 - ydk - Debug--- - Looking at child list '/openconfig-platform:components/component[name='0/RP0']'
Debug---:ydk:Looking at child list '/openconfig-platform:components/component[name='0/RP0']'
2022-04-19 12:58:37,894 - ydk - Debug--- - Going into child component in parent /openconfig-platform:components
2022-04-19 12:58:37,894 - ydk - Debug--- - Going into child component in parent /openconfig-platform:components
Debug---:ydk:Going into child component in parent /openconfig-platform:components
2022-04-19 12:58:37,894 - ydk.types.Entity - Debug--- - Looking for 'component'
2022-04-19 12:58:37,894 - ydk.types.Entity - Debug--- - Looking for 'component'
Debug---:ydk.types.Entity:Looking for 'component'
2022-04-19 12:58:37,912 - ydk - Debug--- - Created entity child 'component' in parent '/openconfig-platform:components'
2022-04-19 12:58:37,912 - ydk - Debug--- - Created entity child 'component' in parent '/openconfig-platform:components'
Debug---:ydk:Created entity child 'component' in parent '/openconfig-platform:components'
2022-04-19 12:58:37,912 - ydk - Debug--- - Looking at parent entity 'component'
2022-04-19 12:58:37,912 - ydk - Debug--- - Looking at parent entity 'component'
Debug---:ydk:Looking at parent entity 'component'
2022-04-19 12:58:37,912 - ydk - Debug--- - Looking at child leaf '/openconfig-platform:components/component[name='0/RP0']/name'
2022-04-19 12:58:37,912 - ydk - Debug--- - Looking at child leaf '/openconfig-platform:components/component[name='0/RP0']/name'
Debug---:ydk:Looking at child leaf '/openconfig-platform:components/component[name='0/RP0']/name'
2022-04-19 12:58:37,912 - ydk - Debug--- - Creating entity leaf 'name' of value '0/RP0' in parent '/openconfig-platform:components/component[name='0/RP0']'
2022-04-19 12:58:37,912 - ydk - Debug--- - Creating entity leaf 'name' of value '0/RP0' in parent '/openconfig-platform:components/component[name='0/RP0']'
Debug---:ydk:Creating entity leaf 'name' of value '0/RP0' in parent '/openconfig-platform:components/component[name='0/RP0']'
2022-04-19 12:58:37,913 - ydk - Debug--- - Created entity leaf 'name' of value '0/RP0' in parent '/openconfig-platform:components/component[name='0/RP0']'
2022-04-19 12:58:37,913 - ydk - Debug--- - Created entity leaf 'name' of value '0/RP0' in parent '/openconfig-platform:components/component[name='0/RP0']'
Debug---:ydk:Created entity leaf 'name' of value '0/RP0' in parent '/openconfig-platform:components/component[name='0/RP0']'
In [8]: dir(rpc_out)
Out[8]:
['__class__',
'__delattr__',
'__dict__',
'__dir__',
'__doc__',
'__eq__',
'__format__',
'__ge__',
'__getattribute__',
'__gt__',
'__hash__',
'__init__',
'__init_subclass__',
'__le__',
'__lt__',
'__module__',
'__ne__',
'__new__',
'__reduce__',
'__reduce_ex__',
'__repr__',
'__setattr__',
'__sizeof__',
'__str__',
'__subclasshook__',
'_absolute_path',
'_assign_yleaf',
'_assign_yleaflist',
'_child_classes',
'_children_name_map',
'_children_yang_names',
'_get_absolute_path',
'_get_child_by_seg_name',
'_is_frozen',
'_leafs',
'_local_refs',
'_logger',
'_perform_setattr',
'_prefix',
'_python_type_validation_enabled',
'_revision',
'_segment_path',
'avg',
'children',
'clone',
'clone_ptr',
'get_absolute_path',
'get_child_by_name',
'get_children',
'get_name_leaf_data',
'get_order_of_children',
'get_segment_path',
'has_data',
'has_leaf_or_child_of_name',
'has_list_ancestor',
'has_operation',
'ignore_validation',
'instant',
'interval',
'is_presence_container',
'is_top_level_class',
'max',
'max_time',
'min',
'min_time',
'parent',
'path',
'set_filter',
'set_value',
'yang_name',
'yang_parent_name',
'yfilter',
'ylist_key',
'ylist_key_names']
In [9]: rpc_out.max
In [10]:
Regards,
Ramya
04-27-2022 06:54 PM
Could you please elaborate, what is the issue. I do not see it from the log.
Yan
04-27-2022 10:55 PM
Hi Yan,
Trying to Automate the container(Cpu/Utilization/State) in Openconfig-Platform-cpu model. Rpc response is fetched properly through AP, but on parsing the output the fields are empty. Other containers in the model are fetched properly.
Regards,
Ramya
04-28-2022 09:11 AM
Hi Ramya
Here is your CRUD read command:
rpc_out = self.device.read(comp.cpu.utilization.state)
It is missing initialization of top level container of class Components and attachment to it of a list element of class Component. Your initialization must be something like this:
from ydk.models.openconfig import openconfig_platform as oc
comps = oc.Components() # Always start building model object from top level container
comp = oc.Components.Component()
comp.name = '0/RP0'
comps.component.append(comp) # The list element must be attached to appropriate YList object
rpc_out = self.device.read(comp.cpu.utilization.state)
Regards,
Yan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide