Commit 197dd370 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Renamed occurrences of ONF TR 352 to ONF TR 532

parent 672e1ba6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -192,7 +192,7 @@ enum DeviceDriverEnum {
  DEVICEDRIVER_TRANSPORT_API = 2;
  DEVICEDRIVER_TRANSPORT_API = 2;
  DEVICEDRIVER_P4 = 3;
  DEVICEDRIVER_P4 = 3;
  DEVICEDRIVER_IETF_NETWORK_TOPOLOGY = 4;
  DEVICEDRIVER_IETF_NETWORK_TOPOLOGY = 4;
  DEVICEDRIVER_ONF_TR_352 = 5;
  DEVICEDRIVER_ONF_TR_532 = 5;
  DEVICEDRIVER_XR = 6;
  DEVICEDRIVER_XR = 6;
  DEVICEDRIVER_IETF_L2VPN = 7;
  DEVICEDRIVER_IETF_L2VPN = 7;
  DEVICEDRIVER_GNMI_OPENCONFIG = 8;
  DEVICEDRIVER_GNMI_OPENCONFIG = 8;
+4 −4
Original line number Original line Diff line number Diff line
@@ -849,8 +849,8 @@ public class Serializer {
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_P4;
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_P4;
            case IETF_NETWORK_TOPOLOGY:
            case IETF_NETWORK_TOPOLOGY:
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_IETF_NETWORK_TOPOLOGY;
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_IETF_NETWORK_TOPOLOGY;
            case ONF_TR_352:
            case ONF_TR_532:
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_ONF_TR_352;
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_ONF_TR_532;
            case XR:
            case XR:
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_XR;
                return ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_XR;
            case IETF_L2VPN:
            case IETF_L2VPN:
@@ -872,8 +872,8 @@ public class Serializer {
                return DeviceDriverEnum.P4;
                return DeviceDriverEnum.P4;
            case DEVICEDRIVER_IETF_NETWORK_TOPOLOGY:
            case DEVICEDRIVER_IETF_NETWORK_TOPOLOGY:
                return DeviceDriverEnum.IETF_NETWORK_TOPOLOGY;
                return DeviceDriverEnum.IETF_NETWORK_TOPOLOGY;
            case DEVICEDRIVER_ONF_TR_352:
            case DEVICEDRIVER_ONF_TR_532:
                return DeviceDriverEnum.ONF_TR_352;
                return DeviceDriverEnum.ONF_TR_532;
            case DEVICEDRIVER_XR:
            case DEVICEDRIVER_XR:
                return DeviceDriverEnum.XR;
                return DeviceDriverEnum.XR;
            case DEVICEDRIVER_IETF_L2VPN:
            case DEVICEDRIVER_IETF_L2VPN:
+1 −1
Original line number Original line Diff line number Diff line
@@ -22,7 +22,7 @@ public enum DeviceDriverEnum {
    TRANSPORT_API,
    TRANSPORT_API,
    P4,
    P4,
    IETF_NETWORK_TOPOLOGY,
    IETF_NETWORK_TOPOLOGY,
    ONF_TR_352,
    ONF_TR_532,
    XR,
    XR,
    IETF_L2VPN
    IETF_L2VPN
}
}
+2 −2
Original line number Original line Diff line number Diff line
@@ -1212,8 +1212,8 @@ class SerializerTest {
                        DeviceDriverEnum.IETF_NETWORK_TOPOLOGY,
                        DeviceDriverEnum.IETF_NETWORK_TOPOLOGY,
                        ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_IETF_NETWORK_TOPOLOGY),
                        ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_IETF_NETWORK_TOPOLOGY),
                Arguments.of(
                Arguments.of(
                        DeviceDriverEnum.ONF_TR_352,
                        DeviceDriverEnum.ONF_TR_532,
                        ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_ONF_TR_352),
                        ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_ONF_TR_532),
                Arguments.of(DeviceDriverEnum.XR, ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_XR),
                Arguments.of(DeviceDriverEnum.XR, ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_XR),
                Arguments.of(
                Arguments.of(
                        DeviceDriverEnum.IETF_L2VPN,
                        DeviceDriverEnum.IETF_L2VPN,
+6 −6
Original line number Original line Diff line number Diff line
@@ -170,9 +170,9 @@ public final class ContextOuterClass {
     */
     */
    DEVICEDRIVER_IETF_NETWORK_TOPOLOGY(4),
    DEVICEDRIVER_IETF_NETWORK_TOPOLOGY(4),
    /**
    /**
     * <code>DEVICEDRIVER_ONF_TR_352 = 5;</code>
     * <code>DEVICEDRIVER_ONF_TR_532 = 5;</code>
     */
     */
    DEVICEDRIVER_ONF_TR_352(5),
    DEVICEDRIVER_ONF_TR_532(5),
    /**
    /**
     * <code>DEVICEDRIVER_XR = 6;</code>
     * <code>DEVICEDRIVER_XR = 6;</code>
     */
     */
@@ -213,9 +213,9 @@ public final class ContextOuterClass {
     */
     */
    public static final int DEVICEDRIVER_IETF_NETWORK_TOPOLOGY_VALUE = 4;
    public static final int DEVICEDRIVER_IETF_NETWORK_TOPOLOGY_VALUE = 4;
    /**
    /**
     * <code>DEVICEDRIVER_ONF_TR_352 = 5;</code>
     * <code>DEVICEDRIVER_ONF_TR_532 = 5;</code>
     */
     */
    public static final int DEVICEDRIVER_ONF_TR_352_VALUE = 5;
    public static final int DEVICEDRIVER_ONF_TR_532_VALUE = 5;
    /**
    /**
     * <code>DEVICEDRIVER_XR = 6;</code>
     * <code>DEVICEDRIVER_XR = 6;</code>
     */
     */
@@ -259,7 +259,7 @@ public final class ContextOuterClass {
        case 2: return DEVICEDRIVER_TRANSPORT_API;
        case 2: return DEVICEDRIVER_TRANSPORT_API;
        case 3: return DEVICEDRIVER_P4;
        case 3: return DEVICEDRIVER_P4;
        case 4: return DEVICEDRIVER_IETF_NETWORK_TOPOLOGY;
        case 4: return DEVICEDRIVER_IETF_NETWORK_TOPOLOGY;
        case 5: return DEVICEDRIVER_ONF_TR_352;
        case 5: return DEVICEDRIVER_ONF_TR_532;
        case 6: return DEVICEDRIVER_XR;
        case 6: return DEVICEDRIVER_XR;
        case 7: return DEVICEDRIVER_IETF_L2VPN;
        case 7: return DEVICEDRIVER_IETF_L2VPN;
        case 8: return DEVICEDRIVER_GNMI_OPENCONFIG;
        case 8: return DEVICEDRIVER_GNMI_OPENCONFIG;
@@ -74215,7 +74215,7 @@ public final class ContextOuterClass {
      "RIVER_OPENCONFIG\020\001\022\036\n\032DEVICEDRIVER_TRANS" +
      "RIVER_OPENCONFIG\020\001\022\036\n\032DEVICEDRIVER_TRANS" +
      "PORT_API\020\002\022\023\n\017DEVICEDRIVER_P4\020\003\022&\n\"DEVIC" +
      "PORT_API\020\002\022\023\n\017DEVICEDRIVER_P4\020\003\022&\n\"DEVIC" +
      "EDRIVER_IETF_NETWORK_TOPOLOGY\020\004\022\033\n\027DEVIC" +
      "EDRIVER_IETF_NETWORK_TOPOLOGY\020\004\022\033\n\027DEVIC" +
      "EDRIVER_ONF_TR_352\020\005\022\023\n\017DEVICEDRIVER_XR\020" +
      "EDRIVER_ONF_TR_532\020\005\022\023\n\017DEVICEDRIVER_XR\020" +
      "\006\022\033\n\027DEVICEDRIVER_IETF_L2VPN\020\007\022 \n\034DEVICE" +
      "\006\022\033\n\027DEVICEDRIVER_IETF_L2VPN\020\007\022 \n\034DEVICE" +
      "DRIVER_GNMI_OPENCONFIG\020\010*\217\001\n\033DeviceOpera" +
      "DRIVER_GNMI_OPENCONFIG\020\010*\217\001\n\033DeviceOpera" +
      "tionalStatusEnum\022%\n!DEVICEOPERATIONALSTA" +
      "tionalStatusEnum\022%\n!DEVICEOPERATIONALSTA" +
Loading