remove unused yangs from GBP core 89/60589/1
authorMichal Cmarada <mcmarada@cisco.com>
Thu, 20 Jul 2017 08:41:50 +0000 (10:41 +0200)
committerMichal Cmarada <mcmarada@cisco.com>
Thu, 20 Jul 2017 08:41:50 +0000 (10:41 +0200)
Change-Id: Ifa4b37d3600ee6e68070125829a8d3a0d66160fc
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
groupbasedpolicy/src/main/yang/operationalstate/fault-rule.yang [deleted file]
groupbasedpolicy/src/main/yang/operationalstate/faults.yang [deleted file]
groupbasedpolicy/src/main/yang/operationalstate/health-rule.yang [deleted file]
groupbasedpolicy/src/main/yang/operationalstate/health.yang [deleted file]

diff --git a/groupbasedpolicy/src/main/yang/operationalstate/fault-rule.yang b/groupbasedpolicy/src/main/yang/operationalstate/fault-rule.yang
deleted file mode 100644 (file)
index d89f6ae..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Contents of "fault-rule"
-module fault-rule {
-    namespace "urn:opendaylight:fault-rule";
-    prefix "fault-rule";
-
-    revision 2015-04-28 {
-        description "Initial revision";
-    }
-
-    typedef rule {type string;}
-
-    container fault-rules {
-        description "stuff";
-
-    }
-}
diff --git a/groupbasedpolicy/src/main/yang/operationalstate/faults.yang b/groupbasedpolicy/src/main/yang/operationalstate/faults.yang
deleted file mode 100644 (file)
index 85447ec..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-// Contents of "fault-instance"
-module fault-instance {
-    namespace "urn:opendaylight:fault-instance";
-    prefix "fault-instance";
-
-    import gbp-common {prefix gbp-common;}
-    import ietf-inet-types {
-        prefix inet;
-        revision-date 2013-07-15;
-    }
-    import ietf-yang-types {
-        prefix yang;
-        revision-date 2013-07-15;
-    }
-    import fault-rule {prefix fault-rule;}
-
-    revision 2015-04-28 {
-        description "Initial revision";
-    }
-
-    typedef severity {
-            type enumeration {
-                enum emergency {
-                    description
-                                        "A panic condition";
-                }
-                enum alert {
-                    description
-                                        "Should be corrected immediately";
-                }
-                enum critical {
-                    description
-                                        "Should be corrected immediately";
-                }
-                enum error {
-                    description
-                                        "Non-urgent failure";
-                }
-                enum warning {
-                    description
-                                        "Indication that an error will occur if action is not taken";
-                }
-                enum informational {
-                    description
-                                        "Normal operational events";
-                }
-                enum trace {
-                    description
-                                        "System debug";
-                }
-            }
-    }
-
-    container faults {
-
-        list fault {
-            key "id";
-            leaf id {
-                description "A unique ID for the fault";
-                type gbp-common:unique-id;
-                mandatory true;
-
-            }
-            leaf cause {
-                description "A user-visible name for the tenant";
-                type gbp-common:description;
-            }
-            leaf description {
-                description "A user-readable description for the tenant";
-                type gbp-common:description;
-            }
-            leaf counter {
-                description "Occurences of this fault";
-                type yang:counter32;
-            }
-            leaf trigger {
-                type fault-rule:rule;
-            }
-            leaf created {
-                type yang:timestamp;
-            }
-            leaf modified {
-                type yang:timestamp;
-            }
-            leaf component {
-                description "his should be a leafref or a choice between leafref and description.
-                    This allows us to segment by tenant and component.";
-                type gbp-common:description;
-            }
-            leaf highest-severity {
-                type severity;
-            }
-            leaf current-severity {
-                type severity;
-            }
-            leaf previous-severity {
-                type severity;
-            }
-
-        }
-    }
-}
diff --git a/groupbasedpolicy/src/main/yang/operationalstate/health-rule.yang b/groupbasedpolicy/src/main/yang/operationalstate/health-rule.yang
deleted file mode 100644 (file)
index bf27a15..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Contents of "fault-rule"
-module health-rule {
-    namespace "urn:opendaylight:health-rule";
-    prefix "health-rule";
-
-    revision 2015-04-28 {
-        description "Initial revision";
-    }
-
-    typedef rule {type string;}
-
-    container health-rules {
-        description "Objective rule contructs for health score formula";
-
-    }
-
-    container health-score-faults {
-
-    }
-
-    container health-score {
-
-    }
-}
diff --git a/groupbasedpolicy/src/main/yang/operationalstate/health.yang b/groupbasedpolicy/src/main/yang/operationalstate/health.yang
deleted file mode 100644 (file)
index afbd196..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-module health {
-    namespace "urn:opendaylight:health";
-    prefix "health";
-
-    import gbp-common {prefix gbp-common;}
-    import ietf-inet-types {
-        prefix inet;
-        revision-date 2013-07-15;
-    }
-    import ietf-yang-types {
-        prefix yang;
-        revision-date 2013-07-15;
-    }
-    import fault-rule {prefix fault-rule;}
-
-    revision 2015-04-28 {
-        description "Initial revision";
-    }
-
-    typedef severity {
-            type enumeration {
-                enum emergency {
-                    description
-                                        "A panic condition";
-                }
-                enum alert {
-                    description
-                                        "Should be corrected immediately";
-                }
-                enum critical {
-                    description
-                                        "Should be corrected immediately";
-                }
-                enum error {
-                    description
-                                        "Non-urgent failure";
-                }
-                enum warning {
-                    description
-                                        "Indication that an error will occur if action is not taken";
-                }
-                enum informational {
-                    description
-                                        "Normal operational events";
-                }
-                enum trace {
-                    description
-                                        "System debug";
-                }
-            }
-    }
-
-    container faults {
-
-        list fault {
-            key "id";
-            leaf id {
-                description "A unique ID for the fault";
-                type gbp-common:unique-id;
-                mandatory true;
-
-            }
-            leaf cause {
-                description "A user-visible name for the tenant";
-                type gbp-common:description;
-            }
-            leaf description {
-                description "A user-readable description for the tenant";
-                type gbp-common:description;
-            }
-            leaf counter {
-                description "Occurences of this fault";
-                type yang:counter32;
-            }
-            leaf trigger {
-                type fault-rule:rule;
-            }
-            leaf created {
-                type yang:timestamp;
-            }
-            leaf modified {
-                type yang:timestamp;
-            }
-            leaf component {
-                type gbp-common:description;
-            }
-            leaf highest-severity {
-                type severity;
-            }
-            leaf current-severity {
-                type severity;
-            }
-            leaf previos-severity {
-                type severity;
-            }
-
-        }
-    }
-}