WEBVTT

1
00:00.000 --> 00:07.000
The next component we need to create are the image definitions.

2
00:07.000 --> 00:13.050
Now, the image definition ties the image that we've uploaded to the hard drive

3
00:13.050 --> 00:20.000
on CML to the node definitions that we just created in the previous video.

4
00:20.000 --> 00:24.870
Now, the main reason we have this particular component is this allows us to

5
00:24.870 --> 00:29.930
have different versions of code that can be available on the different node

6
00:29.930 --> 00:31.000
definitions.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

6
00:29.930 --> 00:31.000
definitions.

7
00:31.000 --> 00:35.860
So, as we create these, we're probably going to want to put something in the

8
00:35.860 --> 00:40.900
naming convention that includes the version, because again, we're not going to

9
00:40.900 --> 00:42.000
do it in this example.

10
00:42.000 --> 00:47.630
However, there could be times you might want different versions of code

11
00:47.630 --> 00:51.000
available to the same node definition.

12
00:51.000 --> 00:55.820
I'll show you how to select those a little bit later, but the point is, this is

13
00:55.820 --> 00:58.000
what allows that to take place.

14
00:58.000 --> 01:04.000
You can have multiple image definitions mapped to a single node definition.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

14
00:58.000 --> 01:04.000
You can have multiple image definitions mapped to a single node definition.

15
01:04.000 --> 01:11.100
However, each image definition has to be a one-to-one relationship to the image

16
01:11.100 --> 01:13.000
on the hard drive.

17
01:13.000 --> 01:18.350
So, that's where the one-to-one relationship comes in, the one-to-many

18
01:18.350 --> 01:22.800
relationship comes in to the node being able to be tied to many image

19
01:22.800 --> 01:24.000
definitions.

20
01:24.000 --> 01:27.780
So, let's go ahead and jump in and get started. These are fairly easy to create

21
01:27.780 --> 01:33.000
. Let's take a look at how it's done.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

21
01:27.780 --> 01:33.000
. Let's take a look at how it's done.

22
01:33.000 --> 01:38.660
So, for the image definitions, we again go to tools, node and image definitions

23
01:38.660 --> 01:39.000
.

24
01:39.000 --> 01:44.050
This time, of course, we're going to go to image definitions, but instead of

25
01:44.050 --> 01:48.000
hitting manage this time, we're going to hit add.

26
01:48.000 --> 01:51.000
The first thing we need is an ID.

27
01:51.000 --> 01:57.000
I've already created one. We're going to call this Viptela VManage 20.10.1.

28
01:57.000 --> 02:02.010
As I mentioned during the introduction, it's generally a good idea to keep the
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

28
01:57.000 --> 02:02.010
As I mentioned during the introduction, it's generally a good idea to keep the

29
02:02.010 --> 02:08.740
version in here, because again, we can tie multiple image definitions to a

30
02:08.740 --> 02:13.720
single node definition, and then select which version of the code we want to

31
02:13.720 --> 02:17.000
run when we deploy the node.

32
02:17.000 --> 02:22.000
We'll see that in the next video. But for now, let's move on.

33
02:22.000 --> 02:26.050
There's, of course, not really any requirement what to use for the label or the

34
02:26.050 --> 02:27.000
description.

35
02:27.000 --> 02:31.670
I generally just make them the same, and it's the same as the ID just without
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

35
02:27.000 --> 02:31.670
I generally just make them the same, and it's the same as the ID just without

36
02:31.670 --> 02:33.000
the underscores.

37
02:33.000 --> 02:37.000
But, of course, this is entirely up to your naming convention.

38
02:37.000 --> 02:41.000
Then, under the disk image, this, of course, is the important part.

39
02:41.000 --> 02:46.000
This is going to show us those four images that we've already uploaded.

40
02:46.000 --> 02:49.000
So, now all we need to do is choose the proper one.

41
02:49.000 --> 02:53.000
This is for VManage, so we'll choose the VManage image.

42
02:53.000 --> 02:58.140
Now, you see here with the Add Disk image, if we hit this, what it's going to

43
02:58.140 --> 03:01.000
want is another image of one of the things we've uploaded.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

43
02:58.140 --> 03:01.000
want is another image of one of the things we've uploaded.

44
03:01.000 --> 03:07.000
This is if your device required, say, two images for whatever reason.

45
03:07.000 --> 03:12.280
Our controllers don't need this, so we won't do that. We'll just remove that

46
03:12.280 --> 03:13.000
last disk image.

47
03:13.000 --> 03:16.000
But that's what that option is for.

48
03:16.000 --> 03:21.370
We could also, from here, either refresh the available disk images if we've

49
03:21.370 --> 03:26.200
uploaded something in the background, like through SCP, or we could also manage

50
03:26.200 --> 03:30.560
the image uploads right from here, but we've already uploaded what we need to
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

50
03:26.200 --> 03:30.560
the image uploads right from here, but we've already uploaded what we need to

51
03:30.560 --> 03:31.000
upload.

52
03:31.000 --> 03:35.400
So, now what we need to do is click on no definitions, and this is why we had

53
03:35.400 --> 03:38.000
to create the no definitions first.

54
03:38.000 --> 03:43.170
That way, they show up on this list, and we can actually choose that this is

55
03:43.170 --> 03:45.000
for Viptel of EManage.

56
03:45.000 --> 03:48.890
The reason we need this is because if we don't select anything and say create

57
03:48.890 --> 03:54.460
image definition, we get an error telling us, no, you have to choose a no

58
03:54.460 --> 03:56.000
definition.

59
03:56.000 --> 04:00.300
Now, of course, theoretically, you could just choose anything here and then fix
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

59
03:56.000 --> 04:00.300
Now, of course, theoretically, you could just choose anything here and then fix

60
04:00.300 --> 04:01.000
it later.

61
04:01.000 --> 04:06.660
But this is why we created our no definitions first, so we could specify it

62
04:06.660 --> 04:07.000
here.

63
04:07.000 --> 04:11.570
Once we choose that, it allows us to override some of the settings if we wanted

64
04:11.570 --> 04:14.000
to from the Linux native simulation.

65
04:14.000 --> 04:19.410
We set those the way we wanted them to begin with, so we will simply hit create

66
04:19.410 --> 04:21.000
image definition.

67
04:21.000 --> 04:25.200
So just like with our no definitions, we could scroll down here, change things

68
04:25.200 --> 04:30.900
if we wanted to and hit update, or we can go back to tools, note an image
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

68
04:25.200 --> 04:30.900
if we wanted to and hit update, or we can go back to tools, note an image

69
04:30.900 --> 04:36.000
definitions, image definitions, and we see here at the bottom, that our image

70
04:36.000 --> 04:36.000
has now been created.

71
04:36.000 --> 04:40.000
So our image has now been added to this list.

72
04:40.000 --> 04:44.000
So now let's add the images for Vbond and VSmart.

73
04:44.000 --> 04:52.220
So again, we hit add, we'll put in our ID, our label, our description, we

74
04:52.220 --> 04:58.000
choose our Vbond image here, and for the node, we choose Vbond.

75
04:58.000 --> 05:03.050
Create image definition, then if we want, we can just choose to go back twice.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

75
04:58.000 --> 05:03.050
Create image definition, then if we want, we can just choose to go back twice.

76
05:03.050 --> 05:08.800
So we're still on image definitions, hit add again, fill in the appropriate

77
05:08.800 --> 05:16.110
information, choose the VSmart image, choose VSmart for our definition, and hit

78
05:16.110 --> 05:17.000
create.

79
05:17.000 --> 05:23.080
If we go back here to our image definitions, we now see that we have our VMan

80
05:23.080 --> 05:29.930
age, our Vbond, and our VSmart images created and mapped to our node definitions

81
05:29.930 --> 05:30.000
.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

82
05:30.000 --> 05:34.000
So there's only a few more things to do now that we have this up and running.

83
05:34.000 --> 05:38.800
Our next step is we're going to have to deploy these into our topology and

84
05:38.800 --> 05:41.000
connect them to our network.

85
05:41.000 --> 05:44.000
Let's go ahead and get that done.
