def _common_path(self):
                if self.location is None:
                    raise YPYModelError('Key property location is None')

                return '/Cisco-IOS-XR-ip-bfd-cfg:bfd/Cisco-IOS-XR-ip-bfd-cfg:multi-path-includes/Cisco-IOS-XR-ip-bfd-cfg:multi-path-include[Cisco-IOS-XR-ip-bfd-cfg:location = ' + str(
                    self.location) + ']'
                def _common_path(self):
                    if self.parent is None:
                        raise YPYModelError(
                            'parent is not set . Cannot derive path.')

                    return self.parent._common_path + '/Cisco-IOS-XR-asr9k-prm-cfg:nps'
                def _common_path(self):
                    if self.parent is None:
                        raise YPYModelError(
                            'parent is not set . Cannot derive path.')

                    return self.parent._common_path + '/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper:npu-number-for-drop-stats'
Beispiel #4
0
            def _common_path(self):
                if self.slice_num is None:
                    raise YPYModelError('Key property slice_num is None')

                return '/Cisco-IOS-XR-ncs1k-mxp-oper:hw-module/Cisco-IOS-XR-ncs1k-mxp-oper:slice-ids/Cisco-IOS-XR-ncs1k-mxp-oper:slice-id[Cisco-IOS-XR-ncs1k-mxp-oper:slice-num = ' + str(
                    self.slice_num) + ']'
                def _common_path(self):
                    if self.parent is None:
                        raise YPYModelError(
                            'parent is not set . Cannot derive path.')

                    return self.parent._common_path + '/Cisco-IOS-XR-telemetry-model-driven-cfg:sensor-profiles'
Beispiel #6
0
                def _common_path(self):
                    if self.parent is None:
                        raise YPYModelError('parent is not set . Cannot derive path.')

                    return self.parent._common_path +'/ietf-netconf-monitoring:locks'
Beispiel #7
0
            def _common_path(self):
                if self.session_id is None:
                    raise YPYModelError('Key property session_id is None')

                return '/ietf-netconf-monitoring:netconf-state/ietf-netconf-monitoring:sessions/ietf-netconf-monitoring:session[ietf-netconf-monitoring:session-id = ' + str(self.session_id) + ']'
Beispiel #8
0
            def _common_path(self):
                if self.name is None:
                    raise YPYModelError('Key property name is None')

                return '/Cisco-IOS-XR-ncs1k-macsec-ea-oper:ncs1k-macsec-oper/Cisco-IOS-XR-ncs1k-macsec-ea-oper:ncs1k-macsec-ctrlr-names/Cisco-IOS-XR-ncs1k-macsec-ea-oper:ncs1k-macsec-ctrlr-name[Cisco-IOS-XR-ncs1k-macsec-ea-oper:name = ' + str(
                    self.name) + ']'
Beispiel #9
0
                                def _common_path(self):
                                    if self.prefix_length is None:
                                        raise YPYModelError('Key property prefix_length is None')

                                    return '/Cisco-IOS-XR-fia-hw-profile-cfg:hw-module-profile-config/Cisco-IOS-XR-fia-hw-profile-cfg:profile/Cisco-IOS-XR-fia-hw-profile-cfg:tcam-table/Cisco-IOS-XR-fia-hw-profile-cfg:fib-table/Cisco-IOS-XR-fia-hw-profile-cfg:ipv6-address/Cisco-IOS-XR-fia-hw-profile-cfg:ipv6-unicast/Cisco-IOS-XR-fia-hw-profile-cfg:ipv6-unicast-prefix-lengths/Cisco-IOS-XR-fia-hw-profile-cfg:ipv6-unicast-prefix-length[Cisco-IOS-XR-fia-hw-profile-cfg:prefix-length = ' + str(self.prefix_length) + ']'
Beispiel #10
0
                        def _common_path(self):
                            if self.parent is None:
                                raise YPYModelError(
                                    'parent is not set . Cannot derive path.')

                            return self.parent._common_path + '/Cisco-IOS-XR-ncs1k-macsec-ea-oper:active-association'
Beispiel #11
0
                    def _common_path(self):
                        if self.parent is None:
                            raise YPYModelError(
                                'parent is not set . Cannot derive path.')

                        return self.parent._common_path + '/Cisco-IOS-XR-ncs1k-macsec-ea-oper:decrypt-sc-status'
                def _common_path(self):
                    if self.parent is None:
                        raise YPYModelError(
                            'parent is not set . Cannot derive path.')

                    return self.parent._common_path + '/Cisco-IOS-XR-mpls-lsd-cfg:label-range'
            def _common_path(self):
                if self.location_name is None:
                    raise YPYModelError('Key property location_name is None')

                return '/Cisco-IOS-XR-show-fpd-loc-ng-oper:show-fpd/Cisco-IOS-XR-show-fpd-loc-ng-oper:help-locations/Cisco-IOS-XR-show-fpd-loc-ng-oper:help-location[Cisco-IOS-XR-show-fpd-loc-ng-oper:location-name = ' + str(self.location_name) + ']'
                def _common_path(self):
                    if self.parent is None:
                        raise YPYModelError('parent is not set . Cannot derive path.')

                    return self.parent._common_path +'/Cisco-IOS-XR-show-fpd-loc-ng-oper:help-fpd'
                def _common_path(self):
                    if self.parent is None:
                        raise YPYModelError(
                            'parent is not set . Cannot derive path.')

                    return self.parent._common_path + '/Cisco-IOS-XR-ipv4-smiap-cfg:address'
Beispiel #16
0
            def _common_path(self):
                if self.node_name is None:
                    raise YPYModelError('Key property node_name is None')

                return '/Cisco-IOS-XR-lpts-ifib-oper:lpts-ifib/Cisco-IOS-XR-lpts-ifib-oper:nodes/Cisco-IOS-XR-lpts-ifib-oper:node[Cisco-IOS-XR-lpts-ifib-oper:node-name = ' + str(
                    self.node_name) + ']'
            def _common_path(self):
                if self.vrf_name is None:
                    raise YPYModelError('Key property vrf_name is None')

                return '/Cisco-IOS-XR-ipv4-smiap-cfg:ipv4-virtual/Cisco-IOS-XR-ipv4-smiap-cfg:vrfs/Cisco-IOS-XR-ipv4-smiap-cfg:vrf[Cisco-IOS-XR-ipv4-smiap-cfg:vrf-name = ' + str(
                    self.vrf_name) + ']'
Beispiel #18
0
                def _common_path(self):
                    if self.parent is None:
                        raise YPYModelError('parent is not set . Cannot derive path.')

                    return self.parent._common_path +'/Cisco-IOS-XR-infra-rmf-oper:redundancy'
Beispiel #19
0
            def _common_path(self):
                if self.name is None:
                    raise YPYModelError('Key property name is None')

                return '/ietf-netconf-monitoring:netconf-state/ietf-netconf-monitoring:datastores/ietf-netconf-monitoring:datastore[ietf-netconf-monitoring:name = ' + str(self.name) + ']'
Beispiel #20
0
            def _common_path(self):
                if self.node_id is None:
                    raise YPYModelError('Key property node_id is None')

                return '/Cisco-IOS-XR-infra-rmf-oper:redundancy/Cisco-IOS-XR-infra-rmf-oper:nodes/Cisco-IOS-XR-infra-rmf-oper:node[Cisco-IOS-XR-infra-rmf-oper:node-id = ' + str(self.node_id) + ']'
Beispiel #21
0
                def _common_path(self):
                    if self.parent is None:
                        raise YPYModelError(
                            'parent is not set . Cannot derive path.')

                    return self.parent._common_path + '/Cisco-IOS-XR-ncs1k-mxp-oper:slice-info'
Beispiel #22
0
                    def _common_path(self):
                        if self.parent is None:
                            raise YPYModelError(
                                'parent is not set . Cannot derive path.')

                        return self.parent._common_path + '/Cisco-IOS-XR-ip-sbfd-oper:local-discriminator'
            def _common_path(self):
                if self.destination_id is None:
                    raise YPYModelError('Key property destination_id is None')

                return '/Cisco-IOS-XR-telemetry-model-driven-cfg:telemetry-model-driven/Cisco-IOS-XR-telemetry-model-driven-cfg:destination-groups/Cisco-IOS-XR-telemetry-model-driven-cfg:destination-group[Cisco-IOS-XR-telemetry-model-driven-cfg:destination-id = ' + str(
                    self.destination_id) + ']'
Beispiel #24
0
                def _common_path(self):
                    if self.vrf_name is None:
                        raise YPYModelError('Key property vrf_name is None')

                    return '/Cisco-IOS-XR-ip-sbfd-oper:sbfd/Cisco-IOS-XR-ip-sbfd-oper:target-identifier/Cisco-IOS-XR-ip-sbfd-oper:local-vrfs/Cisco-IOS-XR-ip-sbfd-oper:local-vrf[Cisco-IOS-XR-ip-sbfd-oper:vrf-name = ' + str(
                        self.vrf_name) + ']'
                def _common_path(self):
                    if self.parent is None:
                        raise YPYModelError(
                            'parent is not set . Cannot derive path.')

                    return self.parent._common_path + '/Cisco-IOS-XR-telemetry-model-driven-cfg:ipv6-destinations'
                def _common_path(self):
                    if self.parent is None:
                        raise YPYModelError(
                            'parent is not set . Cannot derive path.')

                    return self.parent._common_path + '/Cisco-IOS-XR-infra-serg-cfg:interface-list'
            def _common_path(self):
                if self.node_name is None:
                    raise YPYModelError('Key property node_name is None')

                return '/Cisco-IOS-XR-asr9k-prm-cfg:hardware-module-tcam/Cisco-IOS-XR-asr9k-prm-cfg:nodes/Cisco-IOS-XR-asr9k-prm-cfg:node[Cisco-IOS-XR-asr9k-prm-cfg:node-name = ' + str(
                    self.node_name) + ']'
            def _common_path(self):
                if self.group_id is None:
                    raise YPYModelError('Key property group_id is None')

                return '/Cisco-IOS-XR-infra-serg-cfg:session-redundancy/Cisco-IOS-XR-infra-serg-cfg:groups/Cisco-IOS-XR-infra-serg-cfg:group[Cisco-IOS-XR-infra-serg-cfg:group-id = ' + str(
                    self.group_id) + ']'
            def _common_path(self):
                if self.node_name is None:
                    raise YPYModelError('Key property node_name is None')

                return '/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper:drop/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper:nodes/Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper:node[Cisco-IOS-XR-fretta-bcm-dpa-drop-stats-oper:node-name = ' + str(
                    self.node_name) + ']'
            def _common_path(self):
                if self.interface_name is None:
                    raise YPYModelError('Key property interface_name is None')

                return '/Cisco-IOS-XR-ip-bfd-cfg:bfd/Cisco-IOS-XR-ip-bfd-cfg:interfaces/Cisco-IOS-XR-ip-bfd-cfg:interface[Cisco-IOS-XR-ip-bfd-cfg:interface-name = ' + str(
                    self.interface_name) + ']'