This document show a collection of RestConf request with filters, which are converted into NetConf subfiltering requests.
getLtpUuids
RestConf
/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(uuid)
NetConf
<filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
<control-construct xmlns="urn:onf:yang:core-model-1-4">
<logical-termination-point>
<uuid/>
</logical-termination-point>
</control-construct>
</filter>
getLtpUuidsLpLocalIds
RestConf
/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(uuid;layer-protocol(local-id))
NetConf
<filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
<control-construct xmlns="urn:onf:yang:core-model-1-4">
<logical-termination-point>
<uuid/>
<layer-protocol>
<local-id/>
</layer-protocol>
</logical-termination-point>
</control-construct>
</filter>
getLayerProtocolNames
RestConf
/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(layer-protocol(layer-protocol-name))
NetConf
<filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
<control-construct xmlns="urn:onf:yang:core-model-1-4">
<logical-termination-point>
<layer-protocol>
<layer-protocol-name/>
<local-id/>
</layer-protocol>
<uuid/>
</logical-termination-point>
</control-construct>
</filter>
getAirPowerConfiguration
RestConf
/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(layer-protocol(layer-protocol-name;air-interface-2-0:air-interface-pac(air-interface-configuration(power-is-on))))
NetConf
<filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
<control-construct xmlns="urn:onf:yang:core-model-1-4">
<logical-termination-point>
<layer-protocol>
<layer-protocol-name/>
<air-interface-pac xmlns="urn:onf:yang:air-interface-2-0">
<air-interface-configuration>
<power-is-on/>
</air-interface-configuration>
</air-interface-pac>
<local-id/>
</layer-protocol>
<uuid/>
</logical-termination-point>
</control-construct>
</filter>
getPhysicalPortReference
RestConf
/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_air}}?content=config
NetConf
<filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
<control-construct xmlns="urn:onf:yang:core-model-1-4">
<logical-termination-point>
<physical-port-reference/>
<uuid/>
</logical-termination-point>
</control-construct>
</filter>
getAllAirInterfaceName
RestConf
/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(layer-protocol(air-interface-2-0:air-interface-pac(air-interface-configuration(air-interface-name))))
NetConf
<filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
<control-construct xmlns="urn:onf:yang:core-model-1-4">
<logical-termination-point>
<layer-protocol>
<air-interface-pac xmlns="urn:onf:yang:air-interface-2-0">
<air-interface-configuration>
<air-interface-name/>
</air-interface-configuration>
</air-interface-pac>
<local-id/>
</layer-protocol>
<uuid/>
</logical-termination-point>
</control-construct>
</filter>
getAirInterfaceNameLtpUuid
RestConf
/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_air}}?content=config&fields=layer-protocol(air-interface-2-0:air-interface-pac(air-interface-configuration(air-interface-name)))
NetConf
<filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
<control-construct xmlns="urn:onf:yang:core-model-1-4">
<logical-termination-point>
<uuid>{{ltp_uuid_air}}</uuid>
<layer-protocol>
<air-interface-pac xmlns="urn:onf:yang:air-interface-2-0">
<air-interface-configuration>
<air-interface-name/>
</air-interface-configuration>
</air-interface-pac>
<local-id/>
</layer-protocol>
</logical-termination-point>
</control-construct>
</filter>
getAirInterfaceNameLtpUuidLpLocalId
RestConf
/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_air}}/layer-protocol={{lp_local_id}}?content=config&fields=air-interface-2-0:air-interface-pac(air-interface-configuration(air-interface-name))
NetConf
<filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
<control-construct xmlns="urn:onf:yang:core-model-1-4">
<logical-termination-point>
<uuid>{{ltp_uuid_air}}</uuid>
<layer-protocol>
<local-id>{{lp_local_id}}</local-id>
<air-interface-pac xmlns="urn:onf:yang:air-interface-2-0">
<air-interface-configuration>
<air-interface-name/>
</air-interface-configuration>
</air-interface-pac>
</layer-protocol>
</logical-termination-point>
</control-construct>
</filter>
getAirInterfaceNameLtpUuidLpLocalIdAirInterfacePac
RestConf
/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_air}}/layer-protocol={{lp_local_id}}/air-interface-2-0:air-interface-pac?content=config&fields=air-interface-configuration(air-interface-name)
NetConf
<filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
<control-construct xmlns="urn:onf:yang:core-model-1-4">
<logical-termination-point>
<uuid>{{ltp_uuid_air}}</uuid>
<layer-protocol>
<local-id>{{lp_local_id}}</local-id>
<air-interface-pac xmlns="urn:onf:yang:air-interface-2-0">
<air-interface-configuration>
<air-interface-name/>
</air-interface-configuration>
</air-interface-pac>
</layer-protocol>
</logical-termination-point>
</control-construct>
</filter>
getAirInterfaceNameLtpUuidLpLocalIdAirInterfacePacAirInterfaceConfig
RestConf
/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_air}}/layer-protocol={{lp_local_id}}/air-interface-2-0:air-interface-pac/air-interface-configuration?content=config&fields=air-interface-name
NetConf
<filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
<control-construct xmlns="urn:onf:yang:core-model-1-4">
<logical-termination-point>
<uuid>{{ltp_uuid_air}}</uuid>
<layer-protocol>
<local-id>{{lp_local_id}}</local-id>
<air-interface-pac xmlns="urn:onf:yang:air-interface-2-0">
<air-interface-configuration>
<air-interface-name/>
</air-interface-configuration>
</air-interface-pac>
</layer-protocol>
</logical-termination-point>
</control-construct>
</filter>
getWireInterfaceSeverityList
RestConf
/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_wire}}/layer-protocol={{lp_local_id}}/wire-interface-2-0:wire-interface-pac/wire-interface-configuration?fields=interface-name;problem-kind-severity-list
NetConf
<filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
<control-construct xmlns="urn:onf:yang:core-model-1-4">
<logical-termination-point>
<uuid>{{ltp_uuid}}</uuid>
<layer-protocol>
<local-id>{{lp_local_id}}</local-id>
<air-interface-pac xmlns="urn:onf:yang:air-interface-2-0">
<air-interface-configuration>
<air-interface-name/>
</air-interface-configuration>
</air-interface-pac>
</layer-protocol>
</logical-termination-point>
</control-construct>
</filter>
= collection of RestConf requests = This document show a collection of RestConf request with filters, which are converted into NetConf subfiltering requests. == getLtpUuids == === RestConf === <pre>/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(uuid)</pre> === NetConf === <source lang="xml"><filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <uuid/> </logical-termination-point> </control-construct> </filter></source> == getLtpUuidsLpLocalIds == === RestConf === <pre>/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(uuid;layer-protocol(local-id))</pre> === NetConf === <source lang="xml"><filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <uuid/> <layer-protocol> <local-id/> </layer-protocol> </logical-termination-point> </control-construct> </filter></source> == getLayerProtocolNames == === RestConf === <pre>/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(layer-protocol(layer-protocol-name))</pre> === NetConf === <source lang="xml"><filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <layer-protocol> <layer-protocol-name/> <local-id/> </layer-protocol> <uuid/> </logical-termination-point> </control-construct> </filter></source> == getAirPowerConfiguration == === RestConf === <pre>/rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(layer-protocol(layer-protocol-name;air-interface-2-0:air-interface-pac(air-interface-configuration(power-is-on))))</pre> === NetConf === ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <layer-protocol> <layer-protocol-name/> <air-interface-pac xmlns="urn:onf:yang:air-interface-2-0"> <air-interface-configuration> <power-is-on/> </air-interface-configuration> </air-interface-pac> <local-id/> </layer-protocol> <uuid/> </logical-termination-point> </c
##########################
This document show a collection of RestConf request with filters, which are converted into NetConf subfiltering requests.
## getLtpUuids
### RestConf
``` /rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(uuid) ```
### NetConf ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <uuid/> </logical-termination-point> </control-construct> </filter> ``` ## getLtpUuidsLpLocalIds
### RestConf ``` /rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(uuid;layer-protocol(local-id)) ```
### NetConf ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <uuid/> <layer-protocol> <local-id/> </layer-protocol> </logical-termination-point> </control-construct> </filter> ```
## getLayerProtocolNames
### RestConf ``` /rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(layer-protocol(layer-protocol-name)) ```
### NetConf ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <layer-protocol> <layer-protocol-name/> <local-id/> </layer-protocol> <uuid/> </logical-termination-point> </control-construct> </filter> ```
## getAirPowerConfiguration
### RestConf ``` /rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(layer-protocol(layer-protocol-name;air-interface-2-0:air-interface-pac(air-interface-configuration(power-is-on)))) ```
### NetConf ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <layer-protocol> <layer-protocol-name/> <air-interface-pac xmlns="urn:onf:yang:air-interface-2-0"> <air-interface-configuration> <power-is-on/> </air-interface-configuration> </air-interface-pac> <local-id/> </layer-protocol> <uuid/> </logical-termination-point> </control-construct> </filter> ```
## getPhysicalPortReference
### RestConf ``` /rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_air}}?content=config ```
### NetConf ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <physical-port-reference/> <uuid/> </logical-termination-point> </control-construct> </filter> ```
## getAllAirInterfaceName ### RestConf ``` /rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct?content=config&fields=logical-termination-point(layer-protocol(air-interface-2-0:air-interface-pac(air-interface-configuration(air-interface-name)))) ```
### NetConf ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <layer-protocol> <air-interface-pac xmlns="urn:onf:yang:air-interface-2-0"> <air-interface-configuration> <air-interface-name/> </air-interface-configuration> </air-interface-pac> <local-id/> </layer-protocol> <uuid/> </logical-termination-point> </control-construct> </filter> ```
## getAirInterfaceNameLtpUuid
### RestConf ``` /rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_air}}?content=config&fields=layer-protocol(air-interface-2-0:air-interface-pac(air-interface-configuration(air-interface-name))) ```
### NetConf ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <uuid>{{ltp_uuid_air}}</uuid> <layer-protocol> <air-interface-pac xmlns="urn:onf:yang:air-interface-2-0"> <air-interface-configuration> <air-interface-name/> </air-interface-configuration> </air-interface-pac> <local-id/> </layer-protocol> </logical-termination-point> </control-construct> </filter> ```
## getAirInterfaceNameLtpUuidLpLocalId
### RestConf ``` /rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_air}}/layer-protocol={{lp_local_id}}?content=config&fields=air-interface-2-0:air-interface-pac(air-interface-configuration(air-interface-name)) ```
### NetConf ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <uuid>{{ltp_uuid_air}}</uuid> <layer-protocol> <local-id>{{lp_local_id}}</local-id> <air-interface-pac xmlns="urn:onf:yang:air-interface-2-0"> <air-interface-configuration> <air-interface-name/> </air-interface-configuration> </air-interface-pac> </layer-protocol> </logical-termination-point> </control-construct> </filter> ```
## getAirInterfaceNameLtpUuidLpLocalIdAirInterfacePac ### RestConf ``` /rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_air}}/layer-protocol={{lp_local_id}}/air-interface-2-0:air-interface-pac?content=config&fields=air-interface-configuration(air-interface-name) ```
### NetConf ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <uuid>{{ltp_uuid_air}}</uuid> <layer-protocol> <local-id>{{lp_local_id}}</local-id> <air-interface-pac xmlns="urn:onf:yang:air-interface-2-0"> <air-interface-configuration> <air-interface-name/> </air-interface-configuration> </air-interface-pac> </layer-protocol> </logical-termination-point> </control-construct> </filter> ```
## getAirInterfaceNameLtpUuidLpLocalIdAirInterfacePacAirInterfaceConfig
### RestConf ``` /rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_air}}/layer-protocol={{lp_local_id}}/air-interface-2-0:air-interface-pac/air-interface-configuration?content=config&fields=air-interface-name ```
### NetConf ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <uuid>{{ltp_uuid_air}}</uuid> <layer-protocol> <local-id>{{lp_local_id}}</local-id> <air-interface-pac xmlns="urn:onf:yang:air-interface-2-0"> <air-interface-configuration> <air-interface-name/> </air-interface-configuration> </air-interface-pac> </layer-protocol> </logical-termination-point> </control-construct> </filter> ```
## getWireInterfaceSeverityList
### RestConf ``` /rests/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/core-model-1-4:control-construct/logical-termination-point={{ltp_uuid_wire}}/layer-protocol={{lp_local_id}}/wire-interface-2-0:wire-interface-pac/wire-interface-configuration?fields=interface-name;problem-kind-severity-list ```
### NetConf ``` xml <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree"> <control-construct xmlns="urn:onf:yang:core-model-1-4"> <logical-termination-point> <uuid>{{ltp_uuid}}</uuid> <layer-protocol> <local-id>{{lp_local_id}}</local-id> <air-interface-pac xmlns="urn:onf:yang:air-interface-2-0"> <air-interface-configuration> <air-interface-name/> </air-interface-configuration> </air-interface-pac> </layer-protocol> </logical-termination-point> </control-construct> </filter> ```