Cross-platform metadata client tools for use in SDC guests (both Zones and KVM)
Switch branches/tags
master proto2 release-20131031 release-20131128 release-20131212 release-20140109 release-20140123 release-20140206 release-20140220 release-20140307 release-20140320 release-20140403 release-20140417 release-20140501 release-20140515 release-20140529 release-20140612 release-20140626 release-20140703 release-20140710 release-20140724 release-20140807 release-20140821 release-20140904 release-20140918 release-20141002 release-20141016 release-20141030 release-20141113 release-20141127 release-20141211 release-20141225 release-20150108 release-20150122 release-20150205 release-20150219 release-20150305 release-20150319 release-20150402 release-20150416 release-20150430 release-20150514 release-20150528 release-20150611 release-20150625 release-20150709 release-20150723 release-20150806 release-20150820 release-20150903 release-20150917 release-20151001 release-20151015 release-20151029 release-20151112 release-20151126 release-20151210 release-20151224 release-20160107 release-20160121 release-20160204 release-20160218 release-20160303 release-20160317 release-20160331 release-20160414 release-20160428 release-20160512 release-20160526 release-20160609 release-20160625 release-20160707 release-20160721 release-20160804 release-20160818 release-20160901 release-20160915 release-20160929 release-20161013 release-20161027 release-20161110 release-20161124 release-20161208 release-20161222 release-20170105 release-20170119 release-20170202 release-20170216 release-20170302 release-20170316 release-20170330 release-20170413 release-20170427 release-20170511 release-20170525 release-20170608 release-20170622 release-20170706 release-20170720 release-20170803 release-20170817 release-20170831 release-20170914 release-20170928 release-20171012 release-20171026 release-20171109 release-20171123 release-20171207 release-20171221 release-20180104 release-20180118 release-20180201 release-20180215 release-20180301 release-20180315 release-20180329 release-20180412 release-20180426 release-20180510 release-20180524 release-20180607 release-20180621 release-20180705 release-20180719 release-20180802 release-20180816 release-20180830 release-20180913 release-20180927 release-20181011 release-20181025 release-20181108 release-20181122 release-20181206 ubuntu
Nothing to show
Clone or download
mguegan and rmustacc #8 Add initial support for OpenBSD 6.0
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Latest commit dbb3fde Dec 14, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
debian copyright fixes and ubuntu packaging Nov 7, 2013
man/man1m copyright fixes and ubuntu packaging Nov 7, 2013
plat #8 Add initial support for OpenBSD 6.0 Dec 19, 2016
.gitignore add manual pages Oct 25, 2013
LICENSE copyright fixes and ubuntu packaging Nov 7, 2013
Makefile #8 Add initial support for OpenBSD 6.0 Dec 19, 2016
README.md update README to include reference to SDC Sep 22, 2014
base64.c copyright fixes and ubuntu packaging Nov 7, 2013
base64.h copyright fixes and ubuntu packaging Nov 7, 2013
common.c copyright fixes and ubuntu packaging Nov 7, 2013
common.h copyright fixes and ubuntu packaging Nov 7, 2013
crc32.c copyright fixes and ubuntu packaging Nov 7, 2013
crc32.h copyright fixes and ubuntu packaging Nov 7, 2013
dynstr.c OS-3570 mdata-client should correctly define opaque structures Nov 19, 2014
dynstr.h copyright fixes and ubuntu packaging Nov 7, 2013
manifest add manual pages Oct 25, 2013
mdata_delete.c copyright fixes and ubuntu packaging Nov 7, 2013
mdata_get.c copyright fixes and ubuntu packaging Nov 7, 2013
mdata_list.c copyright fixes and ubuntu packaging Nov 7, 2013
mdata_put.c copyright fixes and ubuntu packaging Nov 7, 2013
plat.h copyright fixes and ubuntu packaging Nov 7, 2013
proto.c OS-3570 mdata-client should correctly define opaque structures Nov 19, 2014
proto.h copyright fixes and ubuntu packaging Nov 7, 2013
reqid.c #3 reqid_fini leaks file descriptor Aug 22, 2014
reqid.h copyright fixes and ubuntu packaging Nov 7, 2013

README.md

mdata-client

This repository contains metadata retrieval and manipulation tools for use within guests of the SmartOS (and SDC) hypervisor. These guests may be either SmartOS Zones or KVM virtual machines.

This repository is part of the Joyent SmartDataCenter project (SDC). For contribution guidelines, issues, and general documentation, visit the main SDC project page.

Commands

There are four commands provided in this consolidation:

Manual pages for these tools are available in this repository, and are generally shipped with the OS (in the case of SmartOS) or in the package (e.g. for Ubuntu). They are also viewable on the web at the links above.

Protocol and Transport

The Joyent Metadata Protocol is documented online. The programs in this repository are clients that communicate using this protocol. The SmartOS (or SmartDataCenter) hypervisor provides a common set of supported base metadata keys for guests to consume, as well as the ability to support arbitrary additional user-provided metadata.

In a SmartOS container/zone guest, a UNIX domain socket is used to communicate with the metadata server running in the hypervisor. In a KVM guest, such as a Linux virtual machine, the client tools will make use of the second serial port (e.g. ttyb, or COM2) to communicate with the hypervisor.

OS Support

The tools currently build and function on SmartOS and various Linux distributions. Support for other operating systems, such as *BSD or Windows, is absolutely welcome.

License

MIT (See LICENSE.)