@@ -925,23 +925,57 @@ var (
925925 "deploy_ramdisk" : "http://172.22.0.1/images/tinyipa-stable-rocky.gz" ,
926926 "ipmi_password" : "admin" ,
927927 },
928- DriverInternalInfo : map [string ]any {},
929- Properties : map [string ]any {},
930- InstanceInfo : map [string ]any {},
931- InstanceUUID : "" ,
932- ChassisUUID : "" ,
933- Extra : map [string ]any {},
934- ConsoleEnabled : false ,
935- RAIDConfig : map [string ]any {},
936- TargetRAIDConfig : map [string ]any {},
937- CleanStep : map [string ]any {},
938- DeployStep : map [string ]any {},
928+ DriverInternalInfo : map [string ]any {},
929+ Properties : map [string ]any {},
930+ InstanceInfo : map [string ]any {},
931+ InstanceUUID : "" ,
932+ ChassisUUID : "" ,
933+ Extra : map [string ]any {},
934+ ConsoleEnabled : false ,
935+ RAIDConfig : map [string ]any {},
936+ TargetRAIDConfig : map [string ]any {},
937+ CleanStep : map [string ]any {},
938+ DeployStep : map [string ]any {},
939+ Links : []nodes.Link {
940+ {
941+ Href : "http://ironic.example.com:6385/v1/nodes/d2630783-6ec8-4836-b556-ab427c4b581e" ,
942+ Rel : "self" ,
943+ },
944+ {
945+ Href : "http://ironic.example.com:6385/nodes/d2630783-6ec8-4836-b556-ab427c4b581e" ,
946+ Rel : "bookmark" ,
947+ },
948+ },
949+ Ports : []nodes.Link {
950+ {
951+ Href : "http://ironic.example.com:6385/v1/nodes/d2630783-6ec8-4836-b556-ab427c4b581e/ports" ,
952+ Rel : "self" ,
953+ },
954+ {
955+ Href : "http://ironic.example.com:6385/nodes/d2630783-6ec8-4836-b556-ab427c4b581e/ports" ,
956+ Rel : "bookmark" ,
957+ },
958+ },
959+ PortGroups : []nodes.Link {
960+ {
961+ Href : "http://ironic.example.com:6385/v1/nodes/d2630783-6ec8-4836-b556-ab427c4b581e/portgroups" ,
962+ Rel : "self" ,
963+ },
964+ {
965+ Href : "http://ironic.example.com:6385/nodes/d2630783-6ec8-4836-b556-ab427c4b581e/portgroups" ,
966+ Rel : "bookmark" },
967+ },
968+ States : []nodes.Link {
969+ {
970+ Href : "http://ironic.example.com:6385/v1/nodes/d2630783-6ec8-4836-b556-ab427c4b581e/states" ,
971+ Rel : "self" ,
972+ },
973+ },
939974 ResourceClass : "" ,
940975 BIOSInterface : "no-bios" ,
941976 BootInterface : "pxe" ,
942977 ConsoleInterface : "no-console" ,
943978 DeployInterface : "iscsi" ,
944- FirmwareInterface : "no-firmware" ,
945979 InspectInterface : "no-inspect" ,
946980 ManagementInterface : "ipmitool" ,
947981 NetworkInterface : "flat" ,
@@ -951,14 +985,33 @@ var (
951985 StorageInterface : "noop" ,
952986 Traits : []string {},
953987 VendorInterface : "ipmitool" ,
954- ConductorGroup : "" ,
955- Protected : false ,
956- ProtectedReason : "" ,
957- CreatedAt : createdAtFoo ,
958- UpdatedAt : updatedAt ,
959- ProvisionUpdatedAt : provisonUpdatedAt ,
960- Retired : false ,
961- RetiredReason : "No longer needed" ,
988+ Volume : []nodes.Link {
989+ {
990+ Href : "http://ironic.example.com:6385/v1/nodes/d2630783-6ec8-4836-b556-ab427c4b581e/volume" ,
991+ Rel : "self" ,
992+ },
993+ },
994+ ConductorGroup : "" ,
995+ ParentNode : "" ,
996+ Protected : false ,
997+ ProtectedReason : "" ,
998+ Owner : "" ,
999+ Lessee : "" ,
1000+ Shard : "" ,
1001+ Description : "" ,
1002+ Conductor : "" ,
1003+ AllocationUUID : "" ,
1004+ Retired : false ,
1005+ RetiredReason : "No longer needed" ,
1006+ NetworkData : map [string ]interface {}(nil ),
1007+ AutomatedClean : nil ,
1008+ ServiceStep : map [string ]interface {}(nil ),
1009+ FirmwareInterface : "no-firmware" ,
1010+ ProvisionUpdatedAt : provisonUpdatedAt ,
1011+ InspectionStartedAt : nil ,
1012+ InspectionFinishedAt : nil ,
1013+ CreatedAt : createdAtFoo ,
1014+ UpdatedAt : updatedAt ,
9621015 }
9631016
9641017 NodeFooValidation = nodes.NodeValidation {
@@ -1070,6 +1123,26 @@ var (
10701123 InspectionFinishedAt : & InspectionFinishedAt ,
10711124 Retired : false ,
10721125 RetiredReason : "No longer needed" ,
1126+ Links : []nodes.Link {
1127+ {Href : "http://ironic.example.com:6385/v1/nodes/08c84581-58f5-4ea2-a0c6-dd2e5d2b3662" , Rel : "self" },
1128+ {Href : "http://ironic.example.com:6385/nodes/08c84581-58f5-4ea2-a0c6-dd2e5d2b3662" , Rel : "bookmark" },
1129+ },
1130+ Ports : []nodes.Link {
1131+ {Href : "http://ironic.example.com:6385/v1/nodes/08c84581-58f5-4ea2-a0c6-dd2e5d2b3662/ports" , Rel : "self" },
1132+ {Href : "http://ironic.example.com:6385/nodes/08c84581-58f5-4ea2-a0c6-dd2e5d2b3662/ports" , Rel : "bookmark" },
1133+ },
1134+ PortGroups : []nodes.Link {
1135+ {Href : "http://ironic.example.com:6385/v1/nodes/08c84581-58f5-4ea2-a0c6-dd2e5d2b3662/portgroups" , Rel : "self" },
1136+ {Href : "http://ironic.example.com:6385/nodes/08c84581-58f5-4ea2-a0c6-dd2e5d2b3662/portgroups" , Rel : "bookmark" },
1137+ },
1138+ States : []nodes.Link {
1139+ {Href : "http://ironic.example.com:6385/v1/nodes/08c84581-58f5-4ea2-a0c6-dd2e5d2b3662/states" , Rel : "self" },
1140+ {Href : "http://ironic.example.com:6385/nodes/08c84581-58f5-4ea2-a0c6-dd2e5d2b3662/states" , Rel : "bookmark" },
1141+ },
1142+ Volume : []nodes.Link {
1143+ {Href : "http://ironic.example.com:6385/v1/nodes/08c84581-58f5-4ea2-a0c6-dd2e5d2b3662/volume" , Rel : "self" },
1144+ {Href : "http://ironic.example.com:6385/nodes/08c84581-58f5-4ea2-a0c6-dd2e5d2b3662/volume" , Rel : "bookmark" },
1145+ },
10731146 }
10741147
10751148 NodeBaz = nodes.Node {
@@ -1119,6 +1192,26 @@ var (
11191192 UpdatedAt : updatedAt ,
11201193 Retired : false ,
11211194 RetiredReason : "No longer needed" ,
1195+ Links : []nodes.Link {
1196+ {Href : "http://ironic.example.com:6385/v1/nodes/c9afd385-5d89-4ecb-9e1c-68194da6b474" , Rel : "self" },
1197+ {Href : "http://ironic.example.com:6385/nodes/c9afd385-5d89-4ecb-9e1c-68194da6b474" , Rel : "bookmark" },
1198+ },
1199+ Ports : []nodes.Link {
1200+ {Href : "http://ironic.example.com:6385/v1/nodes/c9afd385-5d89-4ecb-9e1c-68194da6b474/ports" , Rel : "self" },
1201+ {Href : "http://ironic.example.com:6385/nodes/c9afd385-5d89-4ecb-9e1c-68194da6b474/ports" , Rel : "bookmark" },
1202+ },
1203+ PortGroups : []nodes.Link {
1204+ {Href : "http://ironic.example.com:6385/v1/nodes/c9afd385-5d89-4ecb-9e1c-68194da6b474/portgroups" , Rel : "self" },
1205+ {Href : "http://ironic.example.com:6385/nodes/c9afd385-5d89-4ecb-9e1c-68194da6b474/portgroups" , Rel : "bookmark" },
1206+ },
1207+ States : []nodes.Link {
1208+ {Href : "http://ironic.example.com:6385/v1/nodes/c9afd385-5d89-4ecb-9e1c-68194da6b474/states" , Rel : "self" },
1209+ {Href : "http://ironic.example.com:6385/nodes/c9afd385-5d89-4ecb-9e1c-68194da6b474/states" , Rel : "bookmark" },
1210+ },
1211+ Volume : []nodes.Link {
1212+ {Href : "http://ironic.example.com:6385/v1/nodes/c9afd385-5d89-4ecb-9e1c-68194da6b474/volume" , Rel : "self" },
1213+ {Href : "http://ironic.example.com:6385/nodes/c9afd385-5d89-4ecb-9e1c-68194da6b474/volume" , Rel : "bookmark" },
1214+ },
11221215 }
11231216
11241217 ConfigDriveMap = nodes.ConfigDrive {
0 commit comments