@@ -14,11 +14,11 @@ achieved in two steps:
1414
15151 . Attach one (or more) network interfaces through an HTTP ` PUT ` request to
1616 ` /network-interfaces/${MMDS_NET_IF} ` . The full network configuration API
17- can be found in the [ firecracker swagger file] ( ../../src/firecracker/src/api_server/ swagger/firecracker.yaml ) .
17+ can be found in the [ firecracker swagger file] ( ../../src/firecracker/swagger/firecracker.yaml ) .
18181 . Configure MMDS through an HTTP ` PUT ` request to ` /mmds/config ` resource and
1919 include the IDs of the network interfaces that should allow forwarding requests
2020 to MMDS in the ` network_interfaces ` list. The complete MMDS API is described in
21- the [ firecracker swagger file] ( ../../src/firecracker/src/api_server/ swagger/firecracker.yaml ) .
21+ the [ firecracker swagger file] ( ../../src/firecracker/swagger/firecracker.yaml ) .
2222
2323### Examples
2424
@@ -114,7 +114,7 @@ issued. This request must have a payload with metadata structured in
114114metadata, a subsequent HTTP ` PUT ` request to the ` /mmds ` resource must be
115115issued, using as a payload the new metadata. A complete description of
116116metadata insertion firecracker API can be found in the
117- [ firecracker swagger file] ( ../../src/firecracker/src/api_server/ swagger/firecracker.yaml ) .
117+ [ firecracker swagger file] ( ../../src/firecracker/swagger/firecracker.yaml ) .
118118
119119An example of an API request for inserting metadata is provided below:
120120
@@ -149,7 +149,7 @@ To partially update existing metadata, an HTTP `PATCH` request to the `/mmds`
149149resource has to be issued, using as a payload the metadata patch, as
150150[ JSON Merge Patch] ( https://tools.ietf.org/html/rfc7396 ) functionality
151151describes. A complete description of updating metadata Firecracker API can be
152- found in the [ firecracker swagger file] ( ../../src/firecracker/src/api_server/ swagger/firecracker.yaml ) .
152+ found in the [ firecracker swagger file] ( ../../src/firecracker/swagger/firecracker.yaml ) .
153153
154154An example API for how to update existing metadata is offered below:
155155
@@ -190,7 +190,7 @@ To retrieve existing MMDS metadata from host operating system, an HTTP `GET`
190190request to the ` /mmds ` resource must be issued. The HTTP response returns the
191191existing metadata, as a JSON formatted text. A complete description of
192192retrieving metadata Firecracker API can be found in the
193- [ firecracker swagger file] ( ../../src/firecracker/src/api_server/ swagger/firecracker.yaml ) .
193+ [ firecracker swagger file] ( ../../src/firecracker/swagger/firecracker.yaml ) .
194194
195195Below you can see how to retrieve metadata from the host:
196196
0 commit comments