Fix for Host2Host Intent issue.

- installing HostToHostIntent was failing on multi-instance cluster

Change-Id: Ib473a49459c333bfbe74fbcec8363473739cf424
diff --git a/core/api/src/main/java/org/onosproject/net/intent/PathIntent.java b/core/api/src/main/java/org/onosproject/net/intent/PathIntent.java
index 7ac22b3..94a05b2 100644
--- a/core/api/src/main/java/org/onosproject/net/intent/PathIntent.java
+++ b/core/api/src/main/java/org/onosproject/net/intent/PathIntent.java
@@ -241,6 +241,7 @@
     }
 
     // for path protection purposes
+    @Beta
     public enum ProtectionType {
         /**
          * Intent within primary path.
diff --git a/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java b/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java
index 76167eb..74ad5d8 100644
--- a/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java
+++ b/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java
@@ -547,6 +547,7 @@
             .register(ClosedOpenRange.class)
             .register(DiscreteResourceCodec.class)
             .register(new ImmutableByteSequenceSerializer(), ImmutableByteSequence.class)
+            .register(PathIntent.ProtectionType.class)
             .build("API");
 
     /**