<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2017-present Open Networking Foundation
  ~
  ~ 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.
  -->

<!--
  ~ hp-switch drivers supports HP switches of types V1-V2-V3
  ~
  ~ Currently supported V1 switches  HP2910, HP3500, HP6200, HP6600
  ~ Currently supported V2 switches  HP2920, HP3800, HP5400, HP8200
  ~ Currently supported V3 switches  HP2930, HP3810, HP5400R
  ~
  ~ Switches 5400 and 8200 support V1 and V2 depending on switch configuration
  ~ Switch 5400R supports V2 and V3 depending on switch configuration
  ~
  ~ Supported features and features supported in hardware increase from V1->V2->V3
  ~ If the switch model is not recognized it will operate as V1
  ~
  ~ Driver tested for HP3500 and HP3800
 -->

<!--
  ~ aruba-switch drivers recognizes Aruba switches
  ~
  ~ Currently supported Aruba switches: Aruba 7000, Aruba 7200
  ~
  ~ These switches simply operate using default ONOS driver, TO BE TESTED
 -->

<drivers>
    <driver name="hp-switch" extends="default" manufacturer="HP" swVersion=".*">
        <behaviour api="org.onosproject.net.behaviour.Pipeliner"
                   impl="org.onosproject.drivers.hp.HPPipelineV1"/>
        <behaviour api="org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver"
                   impl="org.onosproject.drivers.hp.HPSwitchHandshaker"/>
    </driver>

    <driver name="hp-2910"  extends="hp-switch" hwVersion=".*2910.*">
        <behaviour api="org.onosproject.net.behaviour.Pipeliner"
                   impl="org.onosproject.drivers.hp.HPPipelineV1"/>
    </driver>

    <driver name="hp-2920"  extends="hp-switch" hwVersion=".*2920.*">
        <behaviour api="org.onosproject.net.behaviour.Pipeliner"
               impl="org.onosproject.drivers.hp.HPPipelineV2"/>
    </driver>

    <driver name="hp-2930"  extends="hp-switch" hwVersion=".*2930.*">
        <behaviour api="org.onosproject.net.behaviour.Pipeliner"
                   impl="org.onosproject.drivers.hp.HPPipelineV3"/>
    </driver>

    <driver name="hp-3500"  extends="hp-switch" hwVersion=".*3500.*">
        <behaviour api="org.onosproject.net.behaviour.Pipeliner"
                   impl="org.onosproject.drivers.hp.HPPipelineV1"/>
    </driver><commit_msg>Fixing HP driver matching to catch newer HP/Aruba devices properly.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2017-present Open Networking Foundation
  ~
  ~ 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.
  -->

<!--
  ~ hp-switch drivers supports HP switches of types V1-V2-V3
  ~
  ~ Currently supported V1 switches  HP2910, HP3500, HP6200, HP6600
  ~ Currently supported V2 switches  HP2920, HP3800, HP5400, HP8200
  ~ Currently supported V3 switches  HP2930, HP3810, HP5400R
  ~
  ~ Switches 5400 and 8200 support V1 and V2 depending on switch configuration
  ~ Switch 5400R supports V2 and V3 depending on switch configuration
  ~
  ~ Supported features and features supported in hardware increase from V1->V2->V3
  ~ If the switch model is not recognized it will operate as V1
  ~
  ~ Driver tested for HP3500 and HP3800
 -->

<!--
  ~ aruba-switch drivers recognizes Aruba switches
  ~
  ~ Currently supported Aruba switches: Aruba 7000, Aruba 7200
  ~
  ~ These switches simply operate using default ONOS driver, TO BE TESTED
 -->

<drivers>
    <driver name="hp-switch" extends="default" manufacturer="(HP|Aruba)" swVersion=".*">
        <behaviour api="org.onosproject.net.behaviour.Pipeliner"
                   impl="org.onosproject.drivers.hp.HPPipelineV1"/>
        <behaviour api="org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver"
                   impl="org.onosproject.drivers.hp.HPSwitchHandshaker"/>
    </driver>

    <driver name="hp-2910"  extends="hp-switch" hwVersion=".*2910.*">
        <behaviour api="org.onosproject.net.behaviour.Pipeliner"
                   impl="org.onosproject.drivers.hp.HPPipelineV1"/>
    </driver>

    <driver name="hp-2920"  extends="hp-switch" hwVersion=".*2920.*">
        <behaviour api="org.onosproject.net.behaviour.Pipeliner"
               impl="org.onosproject.drivers.hp.HPPipelineV2"/>
    </driver>

    <driver name="hp-2930"  extends="hp-switch" hwVersion=".*2930.*">
        <behaviour api="org.onosproject.net.behaviour.Pipeliner"
                   impl="org.onosproject.drivers.hp.HPPipelineV3"/>
    </driver>

    <driver name="hp-3500"  extends="hp-switch" hwVersion=".*3500.*">
        <behaviour api="org.onosproject.net.behaviour.Pipeliner"
                   impl="org.onosproject.drivers.hp.HPPipelineV1"/>
    </driver>
{'fraction_non_alphanumeric': 0.11258395192647579, 'fraction_numerical': 0.04736656062212796, 'mean_word_length': 3.2168405365126675, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 2, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6976212', 'n_tokens_mistral': 1929, 'n_tokens_neox': 1722, 'n_words': 480}