From 4a2f812eb4b1e42c7dc02b4a5485c81e10abed70 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 19 Mar 2012 09:24:12 +0100 Subject: Added mac address to host page Part of support for ether maps. https://fedorahosted.org/freeipa/ticket/2548 --- install/ui/host.js | 4 ++++ install/ui/test/data/host_mod.json | 4 ++++ install/ui/test/data/host_show.json | 4 ++++ install/ui/test/data/host_show_dev.example.com.json | 1 + install/ui/test/data/host_show_test.example.com.json | 4 ++++ 5 files changed, 17 insertions(+) (limited to 'install') diff --git a/install/ui/host.js b/install/ui/host.js index 6f9e35776..8c67f6361 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -68,6 +68,10 @@ IPA.host.entity = function(spec) { type: 'sshkeys', name: 'ipasshpubkey', label: IPA.messages.objects.sshkeystore.keys + }, + { + type: 'multivalued', + name: 'macaddress' } ] }, diff --git a/install/ui/test/data/host_mod.json b/install/ui/test/data/host_mod.json index 00ccf2d48..80714a9db 100644 --- a/install/ui/test/data/host_mod.json +++ b/install/ui/test/data/host_mod.json @@ -30,6 +30,7 @@ "krbticketpolicyreference": "rscwo", "krbupenabled": "rscwo", "l": "rscwo", + "macaddress": "rscwo", "managedby": "rscwo", "memberof": "rsc", "nsaccountlock": "rscwo", @@ -55,6 +56,9 @@ "krbprincipalname": [ "host/test.example.com@EXAMPLE.COM" ], + "macaddress": [ + "FE:ED:BA:BE:BE:EF" + ], "managedby": [ "fqdn=test.example.com,cn=computers,cn=accounts,dc=example,dc=com" ], diff --git a/install/ui/test/data/host_show.json b/install/ui/test/data/host_show.json index b66bc08c7..0557d1b3c 100644 --- a/install/ui/test/data/host_show.json +++ b/install/ui/test/data/host_show.json @@ -33,6 +33,7 @@ "krbticketpolicyreference": "rsc", "krbupenabled": "rsc", "l": "rscwo", + "macaddress": "rscwo", "managedby": "rscwo", "memberof": "rsc", "nsaccountlock": "rscwo", @@ -58,6 +59,9 @@ "krbprincipalname": [ "host/test.example.com@EXAMPLE.COM" ], + "macaddress": [ + "FE:ED:BA:BE:BE:EF" + ], "managedby": [ "fqdn=test.example.com,cn=computers,cn=accounts,dc=example,dc=com" ], diff --git a/install/ui/test/data/host_show_dev.example.com.json b/install/ui/test/data/host_show_dev.example.com.json index abb377ab4..842a12d3d 100644 --- a/install/ui/test/data/host_show_dev.example.com.json +++ b/install/ui/test/data/host_show_dev.example.com.json @@ -33,6 +33,7 @@ "krbticketpolicyreference": "rsc", "krbupenabled": "rsc", "l": "rscwo", + "macaddress": "rscwo", "managedby": "rscwo", "memberof": "rsc", "nsaccountlock": "rscwo", diff --git a/install/ui/test/data/host_show_test.example.com.json b/install/ui/test/data/host_show_test.example.com.json index b66bc08c7..0557d1b3c 100644 --- a/install/ui/test/data/host_show_test.example.com.json +++ b/install/ui/test/data/host_show_test.example.com.json @@ -33,6 +33,7 @@ "krbticketpolicyreference": "rsc", "krbupenabled": "rsc", "l": "rscwo", + "macaddress": "rscwo", "managedby": "rscwo", "memberof": "rsc", "nsaccountlock": "rscwo", @@ -58,6 +59,9 @@ "krbprincipalname": [ "host/test.example.com@EXAMPLE.COM" ], + "macaddress": [ + "FE:ED:BA:BE:BE:EF" + ], "managedby": [ "fqdn=test.example.com,cn=computers,cn=accounts,dc=example,dc=com" ], -- cgit