Library SSHLibrary
Library String
Resource DataModels.robot
-Resource Genius.robot
Resource OVSDB.robot
Resource SSHKeywords.robot
Resource Utils.robot
... 2
... ClusterManagement.Check Status Of Services Is OPERATIONAL
... @{COE_DIAG_SERVICES}
- BuiltIn.Wait Until Keyword Succeeds 85 2 Genius.Verify Tunnel Status As Up
Set Connection ids and Bridge
[Documentation] Sets the connection ids for all the nodes and get the bridge from configuration file .
+++ /dev/null
-#!/bin/bash
-
-ENABLE_ITM_DIRECT_TUNNELS=${ENABLE_ITM_DIRECT_TUNNELS:-false}
-
-cat > ${WORKSPACE}/set_itm_direct_tunnels.sh <<EOF
-
- mkdir -p /tmp/${BUNDLEFOLDER}/etc/opendaylight/datastore/initial/config/
- export CONFFILE=\`find /tmp/${BUNDLEFOLDER} -name "*interfacemanager-*-config.xml"\`
- cp \$CONFFILE /tmp/${BUNDLEFOLDER}/etc/opendaylight/datastore/initial/config/genius-ifm-config.xml
- sed -i 's/itm-direct-tunnels>false/itm-direct-tunnels>${ENABLE_ITM_DIRECT_TUNNELS}/g' /tmp/${BUNDLEFOLDER}/etc/opendaylight/datastore/initial/config/genius-ifm-config.xml
- cat /tmp/${BUNDLEFOLDER}/etc/opendaylight/datastore/initial/config/genius-ifm-config.xml
-
-EOF
-
-echo "Copying config files to ODL Controller folder"
-for i in `seq 1 ${NUM_ODL_SYSTEM}`
-do
- CONTROLLERIP=ODL_SYSTEM_${i}_IP
- echo "Setting itm-direct-tunnels to ${ENABLE_ITM_DIRECT_TUNNELS} on ${!CONTROLLERIP}"
- scp ${WORKSPACE}/set_itm_direct_tunnels.sh ${!CONTROLLERIP}:/tmp/
- ssh ${!CONTROLLERIP} 'bash /tmp/set_itm_direct_tunnels.sh'
-
-done
Library SSHLibrary
Resource ../../../libraries/BGPcliKeywords.robot
Resource ../../../libraries/ExaBgpLib.robot
-Resource ../../../libraries/Genius.robot
Resource ../../../libraries/SetupUtils.robot
Resource ../../../libraries/SSHKeywords.robot
Resource ../../../libraries/TemplatedRequests.robot
Library RequestsLibrary
Library String
Resource ../../../libraries/DevstackUtils.robot
-Resource ../../../libraries/Genius.robot
Resource ../../../libraries/KarafKeywords.robot
Resource ../../../libraries/OVSDB.robot
Resource ../../../libraries/OvsManager.robot
${TEST_LOG_LEVEL} trace
@{TEST_LOG_COMPONENTS}
... org.opendaylight.netvirt.aclservice
-... org.opendaylight.genius.interfacemanager
-... org.opendaylight.genius.srm
*** Test Cases ***
... org.opendaylight.ovsdb
... org.opendaylight.ovsdb.lib
... org.opendaylight.netvirt
-... org.opendaylight.genius
${UPDATE_FLAG_PATH} /restconf/config/odl-serviceutils-upgrade:upgrade-config
${GET_ACTIVE_BUNDLE_URI} /restconf/operations/arbitrator-reconcile:get-active-bundle
${COMMIT_ACTIVE_BUNDLE_URI} /restconf/operations/arbitrator-reconcile:commit-active-bundle
# FIXME: Move to a separate GroupBasedPolicy-related Resource and add description.
${GBP_UNREGEP_API}
... /restconf/operations/endpoint:unregister-endpoint
-${GENIUS_IFM_CONFIG_FLAG}
-... ${KARAF_HOME}/etc/opendaylight/datastore/initial/config/genius-ifm-config.xml
-${GENIUS_ITM_CONFIG_FLAG}
-... ${KARAF_HOME}/etc/opendaylight/datastore/initial/config/genius-itm-config.xml
# FIXME: Move to a separate Centinel-related Resource and add description.
${GET_CONFIGURATION_URI}
... /restconf/operational/configuration:configurationRecord/
+++ /dev/null
-{"transport-zone": [
- {
- "zone-name": "TZA",
- "tunnel-type": "odl-interface:tunnel-type-vxlan"
-
- }
- ]
-}
+++ /dev/null
-{
- "transport-zone": [
- {
- "subnets": [
- {
- "gateway-ip": "0.0.0.0",
- "prefix": "1.1.1.1/16",
- "vlan-id": 0,
- "vteps": [
- {
- "dpn-id": 100,
- "ip-address": "2.2.2.2",
- "portname": "br-int-eth1"
- },
- {
- "dpn-id": 101,
- "ip-address": "3.3.3.3",
- "portname": "br-int-eth1"
- },
- {
- "dpn-id": 102,
- "ip-address": "4.4.4.4",
- "portname": "br-int-eth1"
- }
- ]
- }
- ],
- "tunnel-type": "odl-interface:tunnel-type-vxlan",
- "zone-name": "TZA"
- }
- ]
-}
+++ /dev/null
-{
- "transport-zone": [
- {
- "tunnel-type": "odl-interface:tunnel-type-vxlan",
- "vteps": [
- {
- "dpn-id": 100,
- "ip-address": "2.2.2.2",
- "option-of-tunnel": false
- },
- {
- "dpn-id": 101,
- "ip-address": "3.3.3.3",
- "option-of-tunnel": false
- },
- {
- "dpn-id": 102,
- "ip-address": "4.4.4.4",
- "option-of-tunnel": false
- }
- ],
- "zone-name": "TZA"
- }
- ]
-}
+++ /dev/null
-data_models = [
- "config/ietf-interfaces:interfaces",
- "config/interface-service-bindings:service-bindings",
- "config/itm:transport-zones",
- "config/itm-config:tunnel-monitor-enabled",
- "config/itm-config:tunnel-monitor-interval",
- "config/itm-config:tunnel-monitor-params",
- "config/itm-state:dpn-endpoints",
- "config/itm-state:dpn-teps-state",
- "config/itm-state:external-tunnel-list",
- "config/itm-state:tunnel-list",
- "config/network-topology:network-topology/topology/ovsdb:1",
- "config/odl-interface-meta:bridge-interface-info",
- "config/odl-interface-meta:interface-child-info",
- "config/odl-itm-meta:bridge-tunnel-info",
- "config/opendaylight-inventory:nodes",
- "operational/ietf-interfaces:interfaces-state",
- "operational/interface-service-bindings:bound-services-state-list",
- "operational/itm-config:tunnel-monitor-enabled",
- "operational/itm-config:tunnel-monitor-interval",
- "operational/itm-config:tunnel-monitor-params",
- "operational/itm-state:tunnels_state",
- "operational/network-topology:network-topology/topology/ovsdb:1",
- "operational/odl-interface-meta:bridge-ref-info",
- "operational/odl-interface-meta:dpn-to-interface-list",
- "operational/odl-interface-meta:if-indexes-interface-map",
- "operational/odl-itm-meta:dpn-to-interface-list",
- "operational/odl-itm-meta:if-indexes-tunnel-map",
- "operational/odl-itm-meta:ovs-bridge-ref-info",
- "operational/opendaylight-inventory:nodes",
-]
-
-idmanager_data_models = [
- "config/id-manager:id-pools/",
- "operational/lock-manager:locks/",
-]
+++ /dev/null
-{
- "input": {
- "id-manager:pool-name": "test-pool",
- "id-manager:id-key": "test-key",
- "id-manager:size": 5
- }
-}
+++ /dev/null
-{
- "bound-services": [
- {
- "flow-cookie": "1",
- "flow-priority": "5",
- "instruction": [
- {
- "go-to-table": {
- "table_id": 21
- },
- "order": 1
- }
- ],
- "service-name": "service1",
- "service-priority": "3",
- "service-type": "service-type-flow-based"
- },
- {
- "flow-cookie": "1",
- "flow-priority": "5",
- "instruction": [
- {
- "go-to-table": {
- "table_id": 50
- },
- "order": 1
- }
- ],
- "service-name": "service2",
- "service-priority": "4",
- "service-type": "service-type-flow-based"
- }
- ]
-}
+++ /dev/null
-{
- "input": {
- "id-manager:pool-name": "test-pool",
- "id-manager:low": 10,
- "id-manager:high": 20
- }
-}
\ No newline at end of file
+++ /dev/null
-{
- "input": {
- "id-manager:pool-name": "poolname"
- }
-}
+++ /dev/null
-{
- "interface": [
- {
- "name": "l2vlan-trunk",
- "type": "iana-if-type:l2vlan",
- "l2vlan-mode":"trunk",
- "odl-interface:parent-interface": "tap0ed70586-6c",
- "enabled": "true"
- }
- ]
-}
+++ /dev/null
-{
- "interface": [
- {
- "enabled": "true",
- "l2vlan-mode": "trunk-member",
- "name": "l2vlan-trunk1",
- "odl-interface:parent-interface": "l2vlan-trunk",
- "type": "iana-if-type:l2vlan",
- "vlan-id": 1000
- }
- ]
-}
+++ /dev/null
-{
- "input": {
- "id-manager:id-key": "test-key",
- "id-manager:pool-name": "test-pool"
- }
-}
... 216 217 239 240 241 242 243
... 244 245 246 247
${TRANSPORT_ZONE_ENDPOINT_URL} ${CONFIG_API}/itm:transport-zones/transport-zone
-${GENIUS_VAR_DIR} ${CURDIR}/../../variables/genius
${TEP_NOT_HOSTED_ZONE_URL} ${OPERATIONAL_API}/itm:not-hosted-transport-zones
"controller",
"dlux",
"dluxapps",
- "genius",
"infrautils",
"mdsal",
"netconf",
"dluxapps",
"coe",
"packetcable",
- "genius",
"yangtools",
"infrautils",
"netvirt",
"controller",
"dlux",
"dluxapps",
- "genius",
"infrautils",
"mdsal",
"netconf",