diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-03-19 09:24:12 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2012-03-20 17:32:23 +0100 |
commit | 4a2f812eb4b1e42c7dc02b4a5485c81e10abed70 (patch) | |
tree | bbc8a07acfdbb5cca35bdf990cbfe48f9330bdf1 /install | |
parent | 661d82ad75c1a5bca37f225bb7d0f08bbc9be033 (diff) | |
download | freeipa-4a2f812eb4b1e42c7dc02b4a5485c81e10abed70.tar.gz freeipa-4a2f812eb4b1e42c7dc02b4a5485c81e10abed70.tar.xz freeipa-4a2f812eb4b1e42c7dc02b4a5485c81e10abed70.zip |
Added mac address to host page
Part of support for ether maps.
https://fedorahosted.org/freeipa/ticket/2548
Diffstat (limited to 'install')
-rw-r--r-- | install/ui/host.js | 4 | ||||
-rw-r--r-- | install/ui/test/data/host_mod.json | 4 | ||||
-rw-r--r-- | install/ui/test/data/host_show.json | 4 | ||||
-rw-r--r-- | install/ui/test/data/host_show_dev.example.com.json | 1 | ||||
-rw-r--r-- | install/ui/test/data/host_show_test.example.com.json | 4 |
5 files changed, 17 insertions, 0 deletions
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" ], |