Resolve "Naming mistake in device and data models: ONF_TR_352 should be ONF_TR_532"

Closes #24 (closed)

Renamed occurrences of ONF TR 352 to ONF TR 532

Edited by Lluis Gifre Renom

Merge request reports

Loading
+1 −1
Changes for proto/context.proto: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -192,7 +192,7 @@ enum DeviceDriverEnum {
  DEVICEDRIVER_TRANSPORT_API = 2;
  DEVICEDRIVER_P4 = 3;
  DEVICEDRIVER_IETF_NETWORK_TOPOLOGY = 4;
  DEVICEDRIVER_ONF_TR_352 = 5;
  DEVICEDRIVER_ONF_TR_532 = 5;
  DEVICEDRIVER_XR = 6;
  DEVICEDRIVER_IETF_L2VPN = 7;
  DEVICEDRIVER_GNMI_OPENCONFIG = 8;
+1 −1
Changes for src/automation/src/main/java/eu/teraflow/automation/context/model/DeviceDriverEnum.java: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ public enum DeviceDriverEnum {
    TRANSPORT_API,
    P4,
    IETF_NETWORK_TOPOLOGY,
    ONF_TR_352,
    ONF_TR_532,
    XR,
    IETF_L2VPN
}
+4 −4
Changes for src/automation/src/main/java/eu/teraflow/automation/Serializer.java: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -849,8 +849,8 @@ public class Serializer {
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_P4;
            case IETF_NETWORK_TOPOLOGY:
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_IETF_NETWORK_TOPOLOGY;
            case ONF_TR_352:
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_ONF_TR_352;
            case ONF_TR_532:
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_ONF_TR_532;
            case XR:
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_XR;
            case IETF_L2VPN:
@@ -872,8 +872,8 @@ public class Serializer {
                return DeviceDriverEnum.P4;
            case DEVICEDRIVER_IETF_NETWORK_TOPOLOGY:
                return DeviceDriverEnum.IETF_NETWORK_TOPOLOGY;
            case DEVICEDRIVER_ONF_TR_352:
                return DeviceDriverEnum.ONF_TR_352;
            case DEVICEDRIVER_ONF_TR_532:
                return DeviceDriverEnum.ONF_TR_532;
            case DEVICEDRIVER_XR:
                return DeviceDriverEnum.XR;
            case DEVICEDRIVER_IETF_L2VPN:
+2 −2
Changes for src/automation/src/test/java/eu/teraflow/automation/SerializerTest.java: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -1212,8 +1212,8 @@ class SerializerTest {
                        DeviceDriverEnum.IETF_NETWORK_TOPOLOGY,
                        ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_IETF_NETWORK_TOPOLOGY),
                Arguments.of(
                        DeviceDriverEnum.ONF_TR_352,
                        ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_ONF_TR_352),
                        DeviceDriverEnum.ONF_TR_532,
                        ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_ONF_TR_532),
                Arguments.of(DeviceDriverEnum.XR, ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_XR),
                Arguments.of(
                        DeviceDriverEnum.IETF_L2VPN,
+6 −6

File changed.

Generated files are collapsed by default. To change this behavior, edit the .gitattributes file. Learn more.

Loading
Loading