Project

General

Profile

Tâche #20449

Scénario #20430: Action DHCP : lecture des réservations d'IP

Définir le format d'échange

Added by Lionel Morin over 4 years ago. Updated over 4 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
05/09/2017
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Associated revisions

Revision 171b779a (diff)
Added by Emmanuel GARETTE over 4 years ago

name => rangename : ref #20449

Revision d882e5ba (diff)
Added by Emmanuel GARETTE over 4 years ago

name => rangename : ref #20449

History

#1 Updated by Emmanuel GARETTE over 4 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Emmanuel GARETTE over 4 years ago

  • Status changed from En cours to Résolu
  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 3.0 to 0.25

#3 Updated by Emmanuel GARETTE over 4 years ago

  • Status changed from Résolu to Nouveau
  • % Done changed from 100 to 0
  • Remaining (hours) changed from 0.25 to 3.0

#4 Updated by Emmanuel GARETTE over 4 years ago

  • Status changed from Nouveau to En cours

#5 Updated by Emmanuel GARETTE over 4 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 3.0 to 0.25
root@scribe:~/eole-dhcp# salt-call ead.dhcp_get_reserved --output=json
{
    "local": {
        "reserved": [
            {
                "macaddress": "12:12:12:12:12:12", 
                "hostname": "pouet1", 
                "id": 0, 
                "ip": "192.168.0.29" 
            }, 
            {
                "macaddress": "11:11:11:11:11:11", 
                "hostname": "pouet2", 
                "id": 1, 
                "name": "test" 
            }
        ]
    }
}

La machine pouet1 à une IP, la machine pouet2 est dans une plage dynamique connue.

#6 Updated by Gwenael Remond over 4 years ago

  • Remaining (hours) changed from 0.25 to 0.0

#7 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Résolu

#8 Updated by William Petit over 4 years ago

  • Status changed from Résolu to Fermé

#9 Updated by William Petit over 4 years ago

  • Status changed from Fermé to En cours

#10 Updated by William Petit over 4 years ago

Modifier la clé "name" en "rangename" dans les entrées de réservation dans des plages dynamiques.

#11 Updated by Emmanuel GARETTE over 4 years ago

root@scribe:~/eole-dhcp# salt-call ead.dhcp_get_reserved --output=json
{
    "local": {
        "reserved": [
            {
                "macaddress": "12:12:12:12:12:12", 
                "hostname": "pouet1", 
                "id": 0, 
                "ip": "192.168.0.29" 
            }, 
            {
                "macaddress": "11:11:11:11:11:11", 
                "hostname": "pouet2", 
                "id": 1, 
                "rangename": "test" 
            }
        ]
    }
}

#12 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Fermé

#13 Updated by Lionel Morin over 4 years ago

  • Status changed from Fermé to Résolu

#14 Updated by Lionel Morin over 4 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF