Revert "Revert Add Acl enhancement"
[integration/test.git] / csit / suites / daexim / 110-cluster-local-export-basic.robot
1 *** Settings ***
2 Documentation     Test suite for verifying basic export only on a local node with a netconf mount on a cluster
3 Suite Setup       ClusterManagement Setup
4 Suite Teardown    Delete All Sessions
5 Resource          ../../libraries/DaeximKeywords.robot
6
7 *** Test Cases ***
8 Create Basic Local Export
9     [Documentation]    schedule a basic export/backup on a cluster node, with controller mounting itself as a netconf device.Verifies if the export is limited to a local node.
10     [Tags]    create backup
11     DaeximKeywords.Mount Netconf Endpoint    ${NETCONF_EP_NAME}    ${FIRST_CONTROLLER_INDEX}
12     DaeximKeywords.Cleanup Cluster Export Files
13     DaeximKeywords.Schedule Export    ${FIRST_CONTROLLER_INDEX}    500    ${FALSE}    ${EMPTY}    ${EMPTY}    true
14     DaeximKeywords.Verify Export Status    ${EXPORT_SCHEDULED_STATUS}    ${FIRST_CONTROLLER_INDEX}
15     DaeximKeywords.Verify Export Status    ${EXPORT_SKIPPED_STATUS}    ${SECOND_CONTROLLER_INDEX}
16     Builtin.Wait Until Keyword Succeeds    10 sec    5 sec    DaeximKeywords.Verify Export Status    ${EXPORT_COMPLETE_STATUS}    ${FIRST_CONTROLLER_INDEX}
17     DaeximKeywords.Verify Export Files    ${FIRST_CONTROLLER_INDEX}
18     DaeximKeywords.Verify Export Files Not Present    ${THIRD_CONTROLLER_INDEX}
19     DaeximKeywords.Verify Export Files Not Present    ${SECOND_CONTROLLER_INDEX}
20     DaeximKeywords.Verify Netconf Mount    ${NETCONF_EP_NAME}    ${THIRD_CONTROLLER_INDEX}