Commit 3b26ced8 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

OFC25 test:

- Added missing node agent config files
parent 3ba57771
Loading
Loading
Loading
Loading
+253 −0
Original line number Diff line number Diff line
<!--
 Copyright 2022-2025 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/)

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

<config xmlns="http://tail-f.com/ns/config/1.0">
    <components xmlns="http://openconfig.net/yang/platform">
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>2</name>
            <config>
                <name>2</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>OUTPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D1</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>12</name>
            <config>
                <name>12</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>INPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D1</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>3</name>
            <config>
                <name>3</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>OUTPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>13</name>
            <config>
                <name>13</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>INPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>4</name>
            <config>
                <name>4</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>OUTPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>14</name>
            <config>
                <name>14</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>INPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
   
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>101</name>
            <config>
                <name>101</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>OUTPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>111</name>
            <config>
                <name>111</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>INPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
        </components>
</config>
 No newline at end of file
+253 −0
Original line number Diff line number Diff line
<!--
 Copyright 2022-2025 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/)

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

<config xmlns="http://tail-f.com/ns/config/1.0">
    <components xmlns="http://openconfig.net/yang/platform">
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>2</name>
            <config>
                <name>2</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>OUTPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D1</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>12</name>
            <config>
                <name>12</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>INPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D1</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>3</name>
            <config>
                <name>3</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>OUTPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>13</name>
            <config>
                <name>13</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>INPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>4</name>
            <config>
                <name>4</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>OUTPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>14</name>
            <config>
                <name>14</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>INPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
 
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>101</name>
            <config>
                <name>101</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>OUTPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
        <component xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="create">
            <name>111</name>
            <config>
                <name>111</name>
            </config>
            <properties>
                <property>
                    <name>MG_ON_PORT_TYPE</name>
                    <config>
                        <name>MG_ON_PORT_TYPE</name>
                        <value>MG_ON_OPTICAL_PORT_WAVEBAND</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DIRECTION</name>
                    <config>
                        <name>MG_ON_PORT_DIRECTION</name>
                        <value>INPUT</value>
                    </config>
                </property>
                <property>
                    <name>MG_ON_PORT_DEGREE</name>
                    <config>
                        <name>MG_ON_PORT_DEGREE</name>
                        <value>D2</value>
                    </config>
                </property>
            </properties>
        </component>
        </components>
</config>
 No newline at end of file
+311 −0

File added.

Preview size limit exceeded, changes collapsed.

+311 −0

File added.

Preview size limit exceeded, changes collapsed.

+28 −0
Original line number Diff line number Diff line
#!/bin/bash
# Copyright 2022-2025 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

echo 'Cleaning...'
make clean

echo 'Rebuilding...'
make all

echo 'Initializing database...'
cp platform.xml confd-cdb/

echo 'Starting ConfD...'
make start2

echo 'ConfD Ready!!'
Loading