use Create interface from phosphor-dbus-interfaces

The 'Network.Client.Create' interface has been moved to PDI.  Delete the
one here and use that instead.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic28af8a6681622c004b9608f19d018fb6a84b673
diff --git a/Makefile.am b/Makefile.am
index 0b8c6ae..1a5559f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,9 +2,6 @@
 nobase_include_HEADERS = snmp.hpp \
 		snmp_notification.hpp
 
-nobase_nodist_include_HEADERS = \
-		xyz/openbmc_project/Network/Client/Create/server.hpp
-
 bin_PROGRAMS = phosphor-network-snmpconf
 
 noinst_HEADERS = \
@@ -18,16 +15,7 @@
 		snmp_conf_manager.cpp \
 		snmp_client.cpp \
 		snmp_util.cpp \
-		snmp_serialize.cpp \
-		xyz/openbmc_project/Network/Client/Create/server.cpp
-
-CLEANFILES = \
-		xyz/openbmc_project/Network/Client/Create/server.cpp \
-		xyz/openbmc_project/Network/Client/Create/server.hpp
-
-BUILT_SOURCES = \
-        xyz/openbmc_project/Network/Client/Create/server.cpp \
-        xyz/openbmc_project/Network/Client/Create/server.hpp
+		snmp_serialize.cpp
 
 phosphor_network_snmpconf_LDFLAGS = \
 		$(SYSTEMD_LIBS) \
@@ -42,15 +30,6 @@
 		$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
 		$(PHOSPHOR_LOGGING_CFLAGS)
 
-xyz/openbmc_project/Network/Client/Create/server.cpp: xyz/openbmc_project/Network/Client/Create.interface.yaml xyz/openbmc_project/Network/Client/Create/server.hpp
-	@mkdir -p `dirname $@`
-	$(SDBUSPLUSPLUS) -r $(srcdir) interface server-cpp xyz.openbmc_project.Network.Client.Create > $@
-
-xyz/openbmc_project/Network/Client/Create/server.hpp: xyz/openbmc_project/Network/Client/Create.interface.yaml
-	@mkdir -p `dirname $@`
-	$(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.Client.Create > $@
-	sed -i '5i #include \"xyz\/openbmc_project\/Network\/Client\/server.hpp\"' $@
-
 libsnmpdir = ${libdir}
 
 libsnmp_LTLIBRARIES = libsnmp.la
diff --git a/test/Makefile.am.include b/test/Makefile.am.include
index 9bbf050..2e6e144 100644
--- a/test/Makefile.am.include
+++ b/test/Makefile.am.include
@@ -37,7 +37,6 @@
 test_notification_LDADD = $(top_builddir)/phosphor_network_snmpconf-snmp_conf_manager.o \
 	$(top_builddir)/phosphor_network_snmpconf-snmp_client.o \
 	$(top_builddir)/phosphor_network_snmpconf-snmp_serialize.o \
-    $(top_builddir)/phosphor_network_snmpconf-snmp_util.o \
-	$(top_builddir)/xyz/openbmc_project/Network/Client/Create/phosphor_network_snmpconf-server.o
+    $(top_builddir)/phosphor_network_snmpconf-snmp_util.o
 
 check_PROGRAMS += %reldir%/notification
diff --git a/xyz/openbmc_project/Network/Client/Create.interface.yaml b/xyz/openbmc_project/Network/Client/Create.interface.yaml
deleted file mode 100644
index 77955d5..0000000
--- a/xyz/openbmc_project/Network/Client/Create.interface.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-description: >
-methods:
-    - name: Client
-      description: >
-          Create network client endpoint.
-      parameters:
-        - name: Address
-          type: string
-          description: >
-              IP Address/Hostname
-        - name: Port
-          type: uint16
-          description: >
-              Network port.
-      errors:
-        - xyz.openbmc_project.Common.Error.InvalidArgument
-      returns:
-        - name: path
-          type: string
-          description: >
-              Path of the object which has been created.