diff options
author | 2016-06-05 21:53:18 +0200 | |
---|---|---|
committer | 2016-07-14 15:28:02 +0200 | |
commit | da4561dbaaed3f0724c1f1844dba67566bb1062a (patch) | |
tree | d3e42c54317a76a9417c63ec5d8e8809e453c21a /v3po/vpp-translate-utils/src/main/java | |
parent | e5ddeadb5b19272c11b08bc8378e08551393c0d8 (diff) |
HONEYCOMB-49: ACL create/delete support for vpp-interface-augmentation
Change-Id: I5c25bac07ce618f69cf86f988749b0f86e9a6498
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/vpp-translate-utils/src/main/java')
-rw-r--r-- | v3po/vpp-translate-utils/src/main/java/io/fd/honeycomb/v3po/translate/v3po/util/SubInterfaceUtils.java | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/v3po/vpp-translate-utils/src/main/java/io/fd/honeycomb/v3po/translate/v3po/util/SubInterfaceUtils.java b/v3po/vpp-translate-utils/src/main/java/io/fd/honeycomb/v3po/translate/v3po/util/SubInterfaceUtils.java index 0aff6c1a7..1df82af73 100644 --- a/v3po/vpp-translate-utils/src/main/java/io/fd/honeycomb/v3po/translate/v3po/util/SubInterfaceUtils.java +++ b/v3po/vpp-translate-utils/src/main/java/io/fd/honeycomb/v3po/translate/v3po/util/SubInterfaceUtils.java @@ -21,35 +21,6 @@ public final class SubInterfaceUtils { private SubInterfaceUtils() { throw new UnsupportedOperationException("Utility class cannot be instantiated."); } -// -// @Nullable -// private static String getCfgIfaceName(@Nonnull final InstanceIdentifier<?> id) { -// final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.InterfaceKey key = id.firstKeyOf(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface.class); -// if (key == null) { -// return null; -// } else { -// return key.getName(); -// } -// } -// -// @Nullable -// private static String getOperIfaceName(@Nonnull final InstanceIdentifier<?> id) { -// final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.InterfaceKey key = id.firstKeyOf(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.class); -// if (key == null) { -// return null; -// } else { -// return key.getName(); -// } -// } -// -// @Nullable -// public static String getSubInterfaceName(@Nonnull final InstanceIdentifier<?> id) { -// String ifaceName = getCfgIfaceName(id); -// if (ifaceName == null) { -// ifaceName = getOperIfaceName(id); -// } -// if (i) -// } public static String getSubInterfaceName(final String superIfName, final int subIfaceId) { return String.format("%s.%d", superIfName, subIfaceId); |