From c5f5ba2f9e817278ed67935a7665bc8f525a76ef Mon Sep 17 00:00:00 2001 From: Peter Gubka Date: Tue, 14 Feb 2017 13:24:18 +0100 Subject: [PATCH] Add MdsalLowlevel.robot library Change-Id: I7b4ac834f05242ce7717aa203d377e44c64b0331 Signed-off-by: Peter Gubka --- csit/libraries/MdsalLowlevel.robot | 248 ++++++++++++++++++ .../add_shard_replica/location.uri | 1 + .../add_shard_replica/post_data.xml | 3 + .../become_module_leader/location.uri | 1 + .../become_module_leader/post_data.xml | 3 + .../become_prefix_leader/location.uri | 1 + .../become_prefix_leader/post_data.xml | 3 + .../deconfigure_id_ints_shard/location.uri | 1 + .../lowlevelrpc/get_constant/location.uri | 1 + .../get_contexted_constant/location.uri | 1 + .../get_singleton_constant/location.uri | 1 + .../is_client_aborted/location.uri | 1 + .../produce_transactions/location.uri | 1 + .../produce_transactions/post_data.xml | 5 + .../publish_notifications/location.uri | 1 + .../publish_notifications/post_data.xml | 4 + .../register_bound_constant/location.uri | 1 + .../register_constant/location.uri | 1 + .../register_constant/post_data.xml | 3 + .../register_default_constant/location.uri | 1 + .../register_flapping_singleton/location.uri | 1 + .../register_singleton_constant/location.uri | 1 + .../register_singleton_constant/post_data.xml | 3 + .../remove_shard_replica/location.uri | 1 + .../lowlevelrpc/subscribe_ddtl/location.uri | 1 + .../lowlevelrpc/subscribe_dtcl/location.uri | 1 + .../lowlevelrpc/subscribe_ynl/location.uri | 1 + .../unregister_bound_constant/location.uri | 1 + .../unregister_constant/location.uri | 1 + .../unregister_default_constant/location.uri | 1 + .../location.uri | 1 + .../location.uri | 1 + .../lowlevelrpc/unsubscribe_ddtl/location.uri | 1 + .../lowlevelrpc/unsubscribe_dtcl/location.uri | 1 + .../lowlevelrpc/unsubscribe_ynl/location.uri | 1 + .../write_transactions/location.uri | 1 + .../write_transactions/post_data.xml | 5 + 37 files changed, 305 insertions(+) create mode 100644 csit/libraries/MdsalLowlevel.robot create mode 100644 csit/variables/mdsal/lowlevelrpc/add_shard_replica/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/add_shard_replica/post_data.xml create mode 100644 csit/variables/mdsal/lowlevelrpc/become_module_leader/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/become_module_leader/post_data.xml create mode 100644 csit/variables/mdsal/lowlevelrpc/become_prefix_leader/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/become_prefix_leader/post_data.xml create mode 100644 csit/variables/mdsal/lowlevelrpc/deconfigure_id_ints_shard/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/get_constant/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/get_contexted_constant/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/get_singleton_constant/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/is_client_aborted/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/produce_transactions/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/produce_transactions/post_data.xml create mode 100644 csit/variables/mdsal/lowlevelrpc/publish_notifications/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/publish_notifications/post_data.xml create mode 100644 csit/variables/mdsal/lowlevelrpc/register_bound_constant/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/register_constant/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/register_constant/post_data.xml create mode 100644 csit/variables/mdsal/lowlevelrpc/register_default_constant/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/register_flapping_singleton/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/register_singleton_constant/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/register_singleton_constant/post_data.xml create mode 100644 csit/variables/mdsal/lowlevelrpc/remove_shard_replica/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/subscribe_ddtl/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/subscribe_dtcl/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/subscribe_ynl/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/unregister_bound_constant/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/unregister_constant/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/unregister_default_constant/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/unregister_flapping_singleton/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/unregister_singleton_constant/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/unsubscribe_ddtl/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/unsubscribe_dtcl/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/unsubscribe_ynl/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/write_transactions/location.uri create mode 100644 csit/variables/mdsal/lowlevelrpc/write_transactions/post_data.xml diff --git a/csit/libraries/MdsalLowlevel.robot b/csit/libraries/MdsalLowlevel.robot new file mode 100644 index 0000000000..e40b3d8d87 --- /dev/null +++ b/csit/libraries/MdsalLowlevel.robot @@ -0,0 +1,248 @@ +*** Settings *** +Documentation Keywords wrapping controller's odl-mdsal-lowlevel yang model rpcs. +... +... This is just an initial skeleton implementation, calls are debugged. Multiple +... changes will follow as suites will be implemented. +... This suite should be preferably merged before any suite to avoid conflicting +... situations while suites will be implementing. +... +... Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved. +... +... This program and the accompanying materials are made available under the +... terms of the Eclipse Public License v1.0 which accompanies this distribution, +... and is available at http://www.eclipse.org/legal/epl-v10.html +Resource ${CURDIR}/ClusterManagement.robot +Resource ${CURDIR}/TemplatedRequests.robot + +*** Variables *** +${RPC_DIR} ${CURDIR}/../variables/mdsal/lowlevelrpc +${ADD_SHARD_REPLICA_DIR} ${RPC_DIR}/add_shard_replica +${BECOME_MODULE_LEADER_DIR} ${RPC_DIR}/become_module_leader +${BECOME_PREFIX_LEADER_DIR} ${RPC_DIR}/become_prefix_leader +${DECONFIGURE_ID_INTS_SHARD_DIR} ${RPC_DIR}/deconfigure_id_ints_shard +${GET_CONSTANT_DIR} ${RPC_DIR}/get_constant +${GET_CONTEXTED_CONSTANT_DIR} ${RPC_DIR}/get_contexted_constant +${GET_SINGLETON_CONSTANT_DIR} ${RPC_DIR}/get_singleton_constant +${IS_CLIENT_ABORTED_DIR} ${RPC_DIR}/is_client_aborted +${PRODUCE_TRANSACTIONS_DIR} ${RPC_DIR}/produce_transactions +${PUBLISH_NOTIFICATIONS_DIR} ${RPC_DIR}/publish_notifications +${REGISTER_BOUND_CONSTANT_DIR} ${RPC_DIR}/register_bound_constant +${REGISTER_CONSTANT_DIR} ${RPC_DIR}/register_constant +${REGISTER_DEFAULT_CONSTANT_DIR} ${RPC_DIR}/register_default_constant +${REGISTER_FLAPPING_SINGLETON_DIR} ${RPC_DIR}/register_flapping_singleton +${REGISTER_SINGLETON_CONSTANT_DIR} ${RPC_DIR}/register_singleton_constant +${REMOVE_SHARD_REPLICA_DIR} ${RPC_DIR}/remove_shard_replica +${SUBSCRIBE_DDTL_DIR} ${RPC_DIR}/subscribe_ddtl +${SUBSCRIBE_DTCL_DIR} ${RPC_DIR}/subscribe_dtcl +${SUBSCRIBE_YNL_DIR} ${RPC_DIR}/subscribe_ynl +${UNREGISTER_BOUND_CONSTANT_DIR} ${RPC_DIR}/unregister_bound_constant +${UNREGISTER_CONSTANT_DIR} ${RPC_DIR}/unregister_constant +${UNREGISTER_DEFAULT_CONSTANT_DIR} ${RPC_DIR}/unregister_default_constant +${UNREGISTER_FLAPPING_SINGLETON_DIR} ${RPC_DIR}/unregister_flapping_singleton +${UNREGISTER_SINGLETON_CONSTANT_DIR} ${RPC_DIR}/unregister_singleton_constant +${UNSUBSCRIBE_DDTL_DIR} ${RPC_DIR}/unsubscribe_ddtl +${UNSUBSCRIBE_DTCL_DIR} ${RPC_DIR}/unsubscribe_dtcl +${UNSUBSCRIBE_YNL_DIR} ${RPC_DIR}/unsubscribe_ynl +${WRITE_TRANSACTIONS_DIR} ${RPC_DIR}/write_transactions + +*** Keywords *** +Get_Constant + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke get-constant rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${text} = TemplatedRequests.Post_As_Xml_Templated ${GET_CONSTANT_DIR} session=${session} + BuiltIn.Fail TODO: to format output data + BuiltIn.Return_From_Keyword ${formatted_output} + +Get_Contexted_Constant + [Arguments] ${member_index} ${context} + [Documentation] TODO: more desctiptive comment than: Invoke get-contexted-constant rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary CONTEXT=${context} + ${test} = TemplatedRequests.Post_As_Xml_Templated ${GET_CONTEXTED_CONSTANT_DIR} mapping=${mapping} session=${session} + BuiltIn.Fail TODO: to format output data or at least to check the format + BuiltIn.Return_From_Keyword ${formatted_output} + +Get_Singleton_Constant + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke get-singleton-constant rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${GET_SINGLETON_CONSTANT_DIR} base_name=location extension=uri + ${text} = TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} + BuiltIn.Fail TODO: to format output data + BuiltIn.Return_From_Keyword ${formatted_output} + +Register_Constant + [Arguments] ${member_index} ${constant} + [Documentation] TODO: more desctiptive comment than: Invoke register-constant rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary CONSTANT=${constant} + TemplatedRequests.Post_As_Xml_Templated ${REGISTER_CONSTANT_DIR} mapping=${mapping} session=${session} + +Unregister_Constant + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke unregister-constant rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${UNREGISTER_CONSTANT_DIR} base_name=location extension=uri + ${text} = TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} + +Register_Singleton_Constant + [Arguments] ${member_index} ${constant} + [Documentation] TODO: more desctiptive comment than: Invoke register-singleton-constant rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary CONSTANT=${constant} + TemplatedRequests.Post_As_Xml_Templated ${REGISTER_SINGLETON_CONSTANT_DIR} mapping=${mapping} session=${session} + +Unregister_Singleton_Constant + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke unregister-singleton-constant rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${UNREGISTER_SINGLETON_CONSTANT_DIR} base_name=location extension=uri + ${text} = TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} + +Register_Flapping_Singleton + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke register-flapping-singleton rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${REGISTER_FLAPPING_SINGLETON_DIR} base_name=location extension=uri + TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} + +Unregister_Flapping_Singleton + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke unregister-flapping-singleton rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${UNREGISTER_FLAPPING_SINGLETON_DIR} base_name=location extension=uri + ${text} = TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} + +Write_Transactions + [Arguments] ${member_index} ${seconds} ${trans_per_sec} ${chained_trans}=${True} + [Documentation] TODO: more desctiptive comment than: Invoke write-transactions rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary SECONDS=${seconds} TPS=${trans_per_sec} CHAINED_TRANSACTIONS=${chained_trans} + TemplatedRequests.Post_As_Xml_Templated ${WRITE_TRANSACTIONS_DIR} mapping=${mapping} session=${session} + +Produce_Transactions + [Arguments] ${member_index} ${seconds} ${trans_per_sec} ${isolated_trans}=${True} + [Documentation] TODO: more desctiptive comment than: Invoke produce-transactions rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary SECONDS=${seconds} TPS=${trans_per_sec} ISOLATED_TRANSACTIONS=${chained_trans} + TemplatedRequests.Post_As_Xml_Templated ${PRODUCE_TRANSACTIONS_DIR} mapping=${mapping} session=${session} + +Become_Prefix_Leader + [Arguments] ${member_index} ${shard_name} + [Documentation] TODO: more desctiptive comment than: Invoke become-prefix-leader rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary SHARD_NAME=${shard_name} + ${text} = TemplatedRequests.Post_As_Xml_Templated ${BECOME_PREFIX_LEADER_DIR} mapping=${mapping} session=${session} + +Become_Module_Leader + [Arguments] ${member_index} ${shard_name} + [Documentation] TODO: more desctiptive comment than: Invoke become-module-leader rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary SHARD_NAME=${shard_name} + ${text} = TemplatedRequests.Post_As_Xml_Templated ${BECOME_MODULE_LEADER_DIR} mapping=${mapping} session=${session} + +Remove_Shard_Replica + [Arguments] ${member_index} ${shard_name} + [Documentation] TODO: more desctiptive comment than: Invoke remove-shard-replica rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary SHARD_NAME=${shard_name} + TemplatedRequests.Post_As_Xml_Templated ${REMOVE_SHARD_REPLICA_DIR} mapping=${mapping} session=${session} + +Add_Shard_Replica + [Arguments] ${member_index} ${shard_name} + [Documentation] TODO: more desctiptive comment than: Invoke add-shard-replica rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary SHARD_NAME=${shard_name} + TemplatedRequests.Post_As_Xml_Templated ${ADD_SHARD_REPLICA_DIR} mapping=${mapping} session=${session} + +Deconfigure_Id_Ints_Shard + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke deconfigure-id-ints-shard rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${DECONFIGURE_ID_INTS_SHARD_DIR} base_name=location extension=uri + TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} + +Is_Client_Aborted + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke is-client-aborted rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${IS_CLIENT_ABORTED_SHARD_DIR} base_name=location extension=uri + ${text} = TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} + +Subscribe_Dtcl + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke subscribe-dtcl rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${SUBSCRIBE_DTCL_DIR} base_name=location extension=uri + TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} + +Unsubscribe_Dtcl + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke unsubscribe-dtcl rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${UNSUBSCRIBE_DTCL_DIR} base_name=location extension=uri + ${text} = TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} + +Subscribe_Ddtl + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke subscribe-ddtl rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${SUBSCRIBE_DDTL_DIR} base_name=location extension=uri + TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} + +Unsubscribe_Ddtl + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke unsubscribe-ddtl rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${UNSUBSCRIBE_DDTL_DIR} base_name=location extension=uri + ${text} = TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} + +Publish_Notifications + [Arguments] ${member_index} ${seconds} ${notif_per_sec} + [Documentation] TODO: more desctiptive comment than: Invoke publish-notifications rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary SECONDS=${seconds} NPS=${notif_per_sec} + TemplatedRequests.Post_As_Xml_Templated ${PUBLISH_NOTIFICATIONS_DIR} mapping=${mapping} session=${session} + +Subscribe_Ynl + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke subscribe-ynl rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary + TemplatedRequests.Post_As_Xml_Templated ${SUBSCRIBE_YNL_DIR} mapping=${mapping} session=${session} + +Unsubscribe_Ynl + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke unsubscribe-ynl rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary + ${text} = TemplatedRequests.Post_As_Xml_Templated ${UNSUBSCRIBE_YNL_DIR} mapping=${mapping} session=${session} + +Register_Bound_Constant + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke register-bound-constant rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary + ${text} = TemplatedRequests.Post_As_Xml_Templated ${REGISTER_BOUND_CONSTANT_DIR} mapping=${mapping} session=${session} + +Unregister_Bound_Constant + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke unregister-bound-constant rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary + TemplatedRequests.Post_As_Xml_Templated ${UNREGISTER_BOUND_CONSTANT_DIR} mapping=${mapping} session=${session} + +Register_Default_Constant + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke register-default-constant rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + &{mapping} BuiltIn.Create_Dictionary + TemplatedRequests.Post_As_Xml_Templated ${REGISTER_DEFAULT_CONSTANT_DIR} mapping=${mapping} session=${session} + +Unregister_Default_Constant + [Arguments] ${member_index} + [Documentation] TODO: more desctiptive comment than: Invoke unregister-default-constant rpc. + ${session} = ClusterManagement.Resolve_Http_Session_For_Member member_index=${member_index} + ${uri} = TemplatedRequests.Resolve_Text_From_Template_Folder folder=${UNREGISTER_DEFAULT_CONSTANT_DIR} base_name=location extension=uri + TemplatedRequests.Post_To_Uri uri=${uri} data=${EMPTY} accept=${ACCEPT_JSON} content_type=${HEADERS_YANG_JSON} session=${session} diff --git a/csit/variables/mdsal/lowlevelrpc/add_shard_replica/location.uri b/csit/variables/mdsal/lowlevelrpc/add_shard_replica/location.uri new file mode 100644 index 0000000000..7f93628e71 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/add_shard_replica/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:add-shard-replica \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/add_shard_replica/post_data.xml b/csit/variables/mdsal/lowlevelrpc/add_shard_replica/post_data.xml new file mode 100644 index 0000000000..d9df073fd9 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/add_shard_replica/post_data.xml @@ -0,0 +1,3 @@ + + $SHARD_NAME + diff --git a/csit/variables/mdsal/lowlevelrpc/become_module_leader/location.uri b/csit/variables/mdsal/lowlevelrpc/become_module_leader/location.uri new file mode 100644 index 0000000000..7491609a4c --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/become_module_leader/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:become-module-leader \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/become_module_leader/post_data.xml b/csit/variables/mdsal/lowlevelrpc/become_module_leader/post_data.xml new file mode 100644 index 0000000000..a7dd01bfe9 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/become_module_leader/post_data.xml @@ -0,0 +1,3 @@ + + $NAME + diff --git a/csit/variables/mdsal/lowlevelrpc/become_prefix_leader/location.uri b/csit/variables/mdsal/lowlevelrpc/become_prefix_leader/location.uri new file mode 100644 index 0000000000..fb88de7c5d --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/become_prefix_leader/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:become-prefix-leader \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/become_prefix_leader/post_data.xml b/csit/variables/mdsal/lowlevelrpc/become_prefix_leader/post_data.xml new file mode 100644 index 0000000000..a7dd01bfe9 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/become_prefix_leader/post_data.xml @@ -0,0 +1,3 @@ + + $NAME + diff --git a/csit/variables/mdsal/lowlevelrpc/deconfigure_id_ints_shard/location.uri b/csit/variables/mdsal/lowlevelrpc/deconfigure_id_ints_shard/location.uri new file mode 100644 index 0000000000..d652897ad3 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/deconfigure_id_ints_shard/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:deconfigure-id-ints-shard \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/get_constant/location.uri b/csit/variables/mdsal/lowlevelrpc/get_constant/location.uri new file mode 100644 index 0000000000..1df1391ba7 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/get_constant/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-target:get-constant \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/get_contexted_constant/location.uri b/csit/variables/mdsal/lowlevelrpc/get_contexted_constant/location.uri new file mode 100644 index 0000000000..6b5ff937ab --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/get_contexted_constant/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-target:get-contexted-constant \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/get_singleton_constant/location.uri b/csit/variables/mdsal/lowlevelrpc/get_singleton_constant/location.uri new file mode 100644 index 0000000000..d30fed30cc --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/get_singleton_constant/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-target:get-singleton-constant \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/is_client_aborted/location.uri b/csit/variables/mdsal/lowlevelrpc/is_client_aborted/location.uri new file mode 100644 index 0000000000..3dbc9c8d2b --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/is_client_aborted/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:is-client-aborted \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/produce_transactions/location.uri b/csit/variables/mdsal/lowlevelrpc/produce_transactions/location.uri new file mode 100644 index 0000000000..6cf9549da9 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/produce_transactions/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:produce-transactions \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/produce_transactions/post_data.xml b/csit/variables/mdsal/lowlevelrpc/produce_transactions/post_data.xml new file mode 100644 index 0000000000..d507131050 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/produce_transactions/post_data.xml @@ -0,0 +1,5 @@ + + $SECONDS + $TPS + $ISOLATED_TRANSACTIONS + diff --git a/csit/variables/mdsal/lowlevelrpc/publish_notifications/location.uri b/csit/variables/mdsal/lowlevelrpc/publish_notifications/location.uri new file mode 100644 index 0000000000..6841fe96d9 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/publish_notifications/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:publish-notifications \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/publish_notifications/post_data.xml b/csit/variables/mdsal/lowlevelrpc/publish_notifications/post_data.xml new file mode 100644 index 0000000000..5535265d39 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/publish_notifications/post_data.xml @@ -0,0 +1,4 @@ + + $SECONDS + $NPS + diff --git a/csit/variables/mdsal/lowlevelrpc/register_bound_constant/location.uri b/csit/variables/mdsal/lowlevelrpc/register_bound_constant/location.uri new file mode 100644 index 0000000000..bc24857d0b --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/register_bound_constant/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:register-bound-constant \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/register_constant/location.uri b/csit/variables/mdsal/lowlevelrpc/register_constant/location.uri new file mode 100644 index 0000000000..0af89eb82a --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/register_constant/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:register-constant \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/register_constant/post_data.xml b/csit/variables/mdsal/lowlevelrpc/register_constant/post_data.xml new file mode 100644 index 0000000000..9987913a5e --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/register_constant/post_data.xml @@ -0,0 +1,3 @@ + + $CONSTANT + diff --git a/csit/variables/mdsal/lowlevelrpc/register_default_constant/location.uri b/csit/variables/mdsal/lowlevelrpc/register_default_constant/location.uri new file mode 100644 index 0000000000..7f6e2071b7 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/register_default_constant/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:register-default-constant \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/register_flapping_singleton/location.uri b/csit/variables/mdsal/lowlevelrpc/register_flapping_singleton/location.uri new file mode 100644 index 0000000000..9fb9587697 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/register_flapping_singleton/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:register-flapping-singleton \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/register_singleton_constant/location.uri b/csit/variables/mdsal/lowlevelrpc/register_singleton_constant/location.uri new file mode 100644 index 0000000000..a192d69bfb --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/register_singleton_constant/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:register-singleton-constant \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/register_singleton_constant/post_data.xml b/csit/variables/mdsal/lowlevelrpc/register_singleton_constant/post_data.xml new file mode 100644 index 0000000000..9987913a5e --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/register_singleton_constant/post_data.xml @@ -0,0 +1,3 @@ + + $CONSTANT + diff --git a/csit/variables/mdsal/lowlevelrpc/remove_shard_replica/location.uri b/csit/variables/mdsal/lowlevelrpc/remove_shard_replica/location.uri new file mode 100644 index 0000000000..3d53ac0f9e --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/remove_shard_replica/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:remove-shard-replica \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/subscribe_ddtl/location.uri b/csit/variables/mdsal/lowlevelrpc/subscribe_ddtl/location.uri new file mode 100644 index 0000000000..8725e8b175 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/subscribe_ddtl/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:subscribe-ddtl \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/subscribe_dtcl/location.uri b/csit/variables/mdsal/lowlevelrpc/subscribe_dtcl/location.uri new file mode 100644 index 0000000000..5d30b0fd03 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/subscribe_dtcl/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:subscribe-dtcl \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/subscribe_ynl/location.uri b/csit/variables/mdsal/lowlevelrpc/subscribe_ynl/location.uri new file mode 100644 index 0000000000..f0c5e6a426 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/subscribe_ynl/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:subscribe-ynl \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/unregister_bound_constant/location.uri b/csit/variables/mdsal/lowlevelrpc/unregister_bound_constant/location.uri new file mode 100644 index 0000000000..4c1243d250 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/unregister_bound_constant/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:unregister-bound-constant \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/unregister_constant/location.uri b/csit/variables/mdsal/lowlevelrpc/unregister_constant/location.uri new file mode 100644 index 0000000000..e6814696fb --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/unregister_constant/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:unregister-constant \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/unregister_default_constant/location.uri b/csit/variables/mdsal/lowlevelrpc/unregister_default_constant/location.uri new file mode 100644 index 0000000000..3a8efeb310 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/unregister_default_constant/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:unregister-default-constant \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/unregister_flapping_singleton/location.uri b/csit/variables/mdsal/lowlevelrpc/unregister_flapping_singleton/location.uri new file mode 100644 index 0000000000..3f1177f666 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/unregister_flapping_singleton/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:unregister-flapping-singleton \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/unregister_singleton_constant/location.uri b/csit/variables/mdsal/lowlevelrpc/unregister_singleton_constant/location.uri new file mode 100644 index 0000000000..f0e72fba26 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/unregister_singleton_constant/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:unregister-singleton-constant \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/unsubscribe_ddtl/location.uri b/csit/variables/mdsal/lowlevelrpc/unsubscribe_ddtl/location.uri new file mode 100644 index 0000000000..93cbe5af77 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/unsubscribe_ddtl/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:unsubscribe-ddtl \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/unsubscribe_dtcl/location.uri b/csit/variables/mdsal/lowlevelrpc/unsubscribe_dtcl/location.uri new file mode 100644 index 0000000000..8850035310 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/unsubscribe_dtcl/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:unsubscribe-dtcl \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/unsubscribe_ynl/location.uri b/csit/variables/mdsal/lowlevelrpc/unsubscribe_ynl/location.uri new file mode 100644 index 0000000000..c2d4f5e816 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/unsubscribe_ynl/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:unsubscribe-ynl \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/write_transactions/location.uri b/csit/variables/mdsal/lowlevelrpc/write_transactions/location.uri new file mode 100644 index 0000000000..2755958499 --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/write_transactions/location.uri @@ -0,0 +1 @@ +/restconf/operations/odl-mdsal-lowlevel-control:write-transactions \ No newline at end of file diff --git a/csit/variables/mdsal/lowlevelrpc/write_transactions/post_data.xml b/csit/variables/mdsal/lowlevelrpc/write_transactions/post_data.xml new file mode 100644 index 0000000000..473ec533ee --- /dev/null +++ b/csit/variables/mdsal/lowlevelrpc/write_transactions/post_data.xml @@ -0,0 +1,5 @@ + + $SECONDS + $TPS + $CHAINED_TRANSACTIONS + -- 2.36.6